Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX] How to configure custom display message upon a reboot



Article ID: KB17505 KB Last Updated: 13 Jul 2017Version: 4.0

This article explains how to configure the second line of the EX LCD to display a custom message, such as an IP address, even after a reboot.

The customized message is usually not shown in display upon a reboot.

Perform the following steps:
1. Add the following line to the end of  /etc/rc.custom :

        sh /root/ &

     A: Do not forget to add the last "&" 
     B: In case of get permission failure on modifying this rc.custom file, please first execute the following command from root shell.
         % ​mount -u -o rw,noatime /​
     C: After modifying the rc.custom,  execute the following command to change back the privilege of "/" file system.
         % ​mount -u -o ro,noatime / ​
     D: If /etc/rc.custom file does not exist, create it.​

2. Create shell file named under /root:

% cat /root/

# You can tune the wait_time minutes

while [ true ]
up_time=`uptime | awk '{print $3}'`
if [ $up_time -ge $wait_time ] ; then
sleep 1

cli set chassis display fpc-slot 0 permanent message "Custom Message"


3. Restart system to confirm.
Modification History:

2017-7-13: Added notes to Step 1.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search