Step 2: Display Power Supply Error Messages in the System Log File
Action
To display power supply error messages that are generated in the system log file, use the following CLI command:
user@host>show log messages | match "power supply"Sample Output
user@host> show log messages | match "power supply"Apr 8 14:00:15 myrouter scb CM: ALARM SET: (Major) Power Supply A fan failedApr 8 14:00:15 myrouter alarmd[584]: Alarm cleared: Pwr supply color=RED, class=CHASSIS, myrouter=Power Supply A fan failedApr 8 14:00:18 myrouter scb CM: ALARM CLEAR: Power Supply A fan failedApr 8 14:00:21 myrouter alarmd[584]: Alarm set: Pwr supply color=RED, class=CHASSIS, reason=Power Supply A fan failedApr 8 14:00:23 myrouter scb CM: ALARM SET: (Major) Power Supply A fan failedApr 8 14:05:16 myrouter alarmd[584]: Alarm set: Pwr supply color=RED, class=CHASSIS, reason=Power Supply A fan failedWhat 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 messages | match "power supply"command to view only power supply error messages. Use this information to diagnose a power supply problem and to let the Juniper Networks Technical Assistance Center (JTAC) know what error messages were generated and the router events prior to the problem. For more information about system log messages, see the JUNOS System Log Messages Reference.