Fun with Craft-Interface / LCD-Panel

Some Juniper routers and switches have a builtin LCD panel or craft interface. You can change the message on these displays with the:

set chassis  display message <text> permanent

command. To delete the message, you can use :

clear chassis display message

…yeah i know, next time you will have some fun with the technical guy in front of the rack 😉

You can find a more detailed description at Juniper website: http://www.juniper.net/techpubs/en_US/junos/topics/reference/command-summary/clear-chassis-display-message.html.

There is also nice hidden knob to create a real alarm (which also change the LED colors….). With the command „set alarm“ you can create an chassis alarm for testing purposes(*smile*). Lets give it a try:

admin@router> set alarm ?

Possible completions:
 alarm-id Alarm identification number (1..2147483647)
 alarm-life Alarm life in seconds (1..2147483647)
 long-msg Message to write to system log
 red Highest level alarm
 short-msg Message to display on front panel
 yellow Minor alarm

admin@router> set alarm long-msg "Detected geomagnetic storm caused by solar wind." yellow alarm-id 1000 alarm-life 10 short-msg "Sun storm"

admin@router> show chassis craft-interface
Red alarm: LED off, relay off
Yellow alarm: LED on, relay on
Routing Engine OK LED: On
Routing Engine fail LED: Off
FPCs 0
----------
Green *
Red .

LCD screen:
 +--------------------+
 |router              |
 |1 Alarm active      |
 |Y: "Sun storm"      |
 |                    |
 +--------------------+
admin@router> show log messages | last

Jul 24 11:28:44 router alarmd[1288]: Alarm set: RE_DAEMON color=YELLOW,, reason="Detected geomagnetic storm caused by solar wind."
Jul 24 11:28:44 router craftd[1289]: Minor alarm set, "Detected geomagnetic storm caused by solar wind."
Jul 24 11:28:44 router craftd[1289]: forwarding display request to chassisd: type = 4, subtype = 43
Jul 24 11:28:44 router feb CM: ALARM SET: (Minor) "Detected geomagnetic storm caused by solar wind."
Jul 24 11:28:55 router alarmd[1288]: Alarm cleared: RE_DAEMON color=YELLOW,, reason="Detected geomagnetic storm caused by solar wind."
Jul 24 11:28:55 router craftd[1289]: Minor alarm cleared, "Detected geomagnetic storm caused by solar wind."
Jul 24 11:28:55 router craftd[1289]: forwarding display request to chassisd: type = 4, subtype = 44
Jul 24 11:28:55 router feb CM: ALARM CLEAR: "Detected geomagnetic storm caused by solar wind."

… your choice to do the right thing with these commands 😉

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.