zxAnUapsSwapReason
ZTE-AN-UAPS-MIB ·
zte-ng variant
·
.1.3.6.1.4.1.3902.1082.40.80.2.2.1.15
Object
column Enumeration
It indicates the reason of swap.
failback(1): Primary port is recovery.
failoverByPhyLinkDown(2): Primary port is in fault of physical
layer.
failoverByIpLinkDown(3): Primary port is in fault of IP layer.
forceSwap(4): Force swap.
swapByPhyLinkUp(5): In upPortNum mode, swap may be caused by
physical link up.
swapByPortAdded(6): Swap caused by adding new port.
swapByPortDeleted(7): Swap caused by deleting port.
swapBySwapModeChanged(8): Swap caused by changing swap mode.
noSwap(255): No swap.
Context
- MIB
- ZTE-AN-UAPS-MIB
- OID
.1.3.6.1.4.1.3902.1082.40.80.2.2.1.15- 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-ng:/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-ng:/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-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-UAPS-MIB::zxAnUapsSwapReason'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | failback |
2 | failoverByPhyLinkDown |
3 | failoverByIpLinkDown |
4 | forceSwap |
5 | swapByPhyLinkUp |
6 | swapByPortAdded |
7 | swapByPortDeleted |
8 | swapBySwapModeChanged |
255 | noSwap |