Step 2: Display Craft Interface Error Messages in the System Log File
Action
To display craft interface error messages in the system log file, use the following CLI command:
user@host>show log messagesSample Output
user@host> show log messagesJun 3 16:43:19 flitter ssb CM(0): ALARM SET: (Major) fxp0: ethernet link downJun 3 16:43:19 flitter craftd[582]: forwarding display request to chassisd: type = 4, subtype = 43Jun 3 16:43:19 flitter alarmd[581]: Alarm set: fxp0 color=RED, class=ETHER, reason=fxp0: ethernet link downJun 3 16:43:19 flitter mib2d[586]: SNMP_TRAP_LINK_DOWN: ifIndex 1, ifAdminStatus up(1), ifOperStatus down(2), ifName fxp0Jun 3 16:43:21 flitter /kernel: fxp0: media DOWN 100Mb / full-duplexuser@host> show log messagesJun 7 18:18:50 myrouter craftd[2654]: Minor alarm set, Front Top Fan AbsentJun 7 18:18:50 myrouter chassisd[2652]: CHASSISD_BLOWERS_SPEED: blowersbeing set to full speed [fan/blower missing]Jun 7 18:18:50 myrouter alarmd[2653]: Alarm set: Fan color=YELLOW,class=CHASSIS, reason=Front Top Fan AbsentJun 7 18:18:50 myrouter craftd[2654]: fpm led error: Unknown error: -1Jun 7 18:18:50 myrouter alarmd[2653]: Alarm set: Craft IF color=YELLOW,class=CHASSIS, reason=Craft FailureJun 7 18:18:50 myrouter craftd[2654]: Minor alarm set, Craft FailureWhat It Means
The
messagessystem log file records the time the failure or event occurred, the severity level, a code, and a message description. Use theshow log messagesCLI command to browse error messages that are generated at least 5 minutes before and after an event. Use this information to diagnose a problem and to let the Juniper Networks Technical Assistance Center (JTAC) know what error messages were generated and the router events prior to the event.For an M20 router, the
messagesfile output shows that the Ethernet management interface (fpx0)that provides an out-of-band method for connecting to the router from the craft interface is down. For more information about system log messages, see the JUNOS System Log Messages Reference.For an M160 router, since the craft interface is attached to the front top fan, you see both craft interface and fan error messages.