zxAnZesrPrimaryPort
ZTE-AN-ZESR-MIB ·
.1.3.6.1.4.1.3902.1015.9.1.1.1.4
Object
Each node on the ring will have 2 ports connected to the ring. One port of the master node is designated as the 'primary port' to the ring, while the other port is designated as the 'secondary port'.
Context
- MIB
- ZTE-AN-ZESR-MIB
- OID
.1.3.6.1.4.1.3902.1015.9.1.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnZesrEntry
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 'ZTE-AN-ZESR-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-ZESR-MIB::zxAnZesrPrimaryPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-ZESR-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-ZESR-MIB::zxAnZesrPrimaryPort.<zxAnZesrCtrlVlanId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-ZESR-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-ZESR-MIB::zxAnZesrPrimaryPort'
Syntax
- Source
- ZTE-AN-TC-MIBZxAnIfindex
- Base type
Integer32
Values & Constraints
No enumerated values or constraints recorded.