Support Support Downloads Knowledge Base Juniper Support Portal 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

Verifying some of the EX Switch chassis operating states using SNMP OID's



Article ID: KB15467 KB Last Updated: 15 Oct 2009Version: 1.0
Using the SNMP OID's of the chassis operating state we can find out the status of the chassis backplane, power supply , fan, FPC, PIC & RE.




. = Power Supply
. = Fan
. = FPC
. = PIC
. = re


1- Unknown
2- Up and running
3- Ready to run, not running yet
4- Held in reset, not ready yet
5- Running at Full Speed (valid for fans only)
6- Down or off (for power supply)
7- Running as a standby (Backup)

For example lets do an SNMP walk with an OID to find out the power supply and fan status:

root# run show chassis environment
Class Item Status Measurement
Power FPC 0 Power Supply 0 OK
FPC 0 Power Supply 1 OK
Temp FPC 0 CPU OK 42 degrees C / 107 degrees F
FPC 0 EX-PFE1 OK 45 degrees C / 113 degrees F
FPC 0 EX-PFE2 OK 46 degrees C / 114 degrees F
FPC 0 Uplink Conn OK 29 degrees C / 84 degrees F
FPC 0 SFP#1 OK 20 degrees C / 68 degrees F
FPC 0 SFP#12 OK 22 degrees C / 71 degrees F
Fans FPC 0 Fan 1 OK Spinning at normal speed
FPC 0 Fan 2 OK Spinning at normal speed
FPC 0 Fan 3 OK Spinning at normal speed

The two power supplies "Power Supply 0" & "Power Supply 1" and both working fine and show "OK" for a status. 
The three fans "Fan 1", "Fan 2", and "Fan 3" are both working fine and show "OK" for a status.

Example of the Power Supply and Fan using OID's and Status Codes:
root#run show snmp mib walk .
jnxOperatingState. = 2              (Status = 2)
jnxOperatingState. = 2

root#run show snmp mib walk .
jnxOperatingState. = 2              (Status = 2)
jnxOperatingState. = 2
jnxOperatingState. = 2

Both fan and power supply status show status 2 which indicates that they are up and running without fault.

Note: In earlier JUNOS versions the status of the power supply unit shows down (status 6) even though the power supply unit is up and running, while doing SNMP walk for that particular OID. This issue has been fixed in 9.2R3.5, 9.3R2, 9.4R1, 9.5R1 and above for the EX Switch.  Problem Details: This issue was filed for the EX Switch under PR/394661 [jnxOperatingState for Power Supply shows down(6) instead of running(2) ] Any questions concerning this should be directed to Juniper Technical Support.

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