zxAnUapsSwapMode
ZTE-AN-UAPS-MIB ·
zte-ng variant
·
.1.3.6.1.4.1.3902.1082.40.80.2.2.1.13
Object
column r/w
Enumeration
It indicates swap mode.
common: If one port of working port list down, all ports will
swap to slave port list.
trunk: Only when all working ports down, ports will swap to
slave port list.
upPortNum: If the number of up working ports is less than
the number of up slave ports, swap to slave port list.
Context
- MIB
- ZTE-AN-UAPS-MIB
- OID
.1.3.6.1.4.1.3902.1082.40.80.2.2.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Default
common- 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::zxAnUapsSwapMode'
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::zxAnUapsSwapMode.<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::zxAnUapsSwapMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | common |
2 | trunk |
3 | upPortNum |