majorState
ZESR-MIB ·
.1.3.6.1.4.1.3902.3.102.12.3.1.8
Object
column Enumeration
The state of a major.
Context
- MIB
- ZESR-MIB
- OID
.1.3.6.1.4.1.3902.3.102.12.3.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zesrMajorEntry
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 'ZESR-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZESR-MIB::majorState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZESR-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZESR-MIB::majorState.<ctrlVlanID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZESR-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZESR-MIB::majorState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | init |
1 | up |
2 | down |
3 | preup |
4 | start |
5 | unknown |