zxAnUapsSwapReason
ZTE-AN-UAPS-MIB ·
.1.3.6.1.4.1.3902.1015.7.1.2.1.13
Object
column Enumeration
It indicates the reason of swap. NOTE: BIT 0 is just the MSB of this variable and is NOT the LSB.
Context
- MIB
- ZTE-AN-UAPS-MIB
- OID
.1.3.6.1.4.1.3902.1015.7.1.2.1.13- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zxAnUapsGroupEntry
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-UAPS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-UAPS-MIB::zxAnUapsSwapReason'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-UAPS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-UAPS-MIB::zxAnUapsSwapReason.<zxAnUapsGroupIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-UAPS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-UAPS-MIB::zxAnUapsSwapReason'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | failback |
1 | failoverByPhyLinkDown |
2 | failoverByIpLinkDown |
3 | forceSwap |