levelRole
ZESR-MIB ·
.1.3.6.1.4.1.3902.3.102.12.4.1.3
Object
column r/w
Enumeration
The role of a level in a domain, 0--master, 1--transit, 2--edge-assistant, 3--edge-control.
Context
- MIB
- ZESR-MIB
- OID
.1.3.6.1.4.1.3902.3.102.12.4.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zesrLevelEntry
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::levelRole'
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::levelRole.<ctrlVlanID>.<levelID>.<levelSegID>'
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::levelRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | master |
1 | transit |
2 | edge-assistant |
3 | edge-control |