majorRole

ZESR-MIB · .1.3.6.1.4.1.3902.3.102.12.3.1.1

Object

column r/w Enumeration
The role of a major in a domain, 0--master, 1--transit,2--zess-master,3--zess-transit.

Context

MIB
ZESR-MIB
OID
.1.3.6.1.4.1.3902.3.102.12.3.1.1
Type
column
Access
readwrite
Status
current
Parent
zesrMajorEntry

Walk 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::majorRole'
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::majorRole.<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::majorRole'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0master
1transit
2zess-master
3zess-transit