zxr10ShelfMasterStatus
ZXR10-RACK-MIB ·
.1.3.6.1.4.1.3902.3.6002.1.2.1.6
Object
column MasterStatus
the master status. of the special shelf. eg,the current shelf is master,we use 0, else if the shelf is slave, we use 1, else, we use 2.
Context
- MIB
- ZXR10-RACK-MIB
- OID
.1.3.6.1.4.1.3902.3.6002.1.2.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zxr10ShelfEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ZXR10-RACK-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-RACK-MIB::zxr10ShelfMasterStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-RACK-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-RACK-MIB::zxr10ShelfMasterStatus.<zxr10RackNo>.<zxr10ShelfNo>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-RACK-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-RACK-MIB::zxr10ShelfMasterStatus'
Syntax
- Source
- MasterStatus
- Base type
Enumeration
Values & Constraints
Type Values
0 | master |
1 | slave |
2 | none |