tpSwitchState

TPLINK-STACK-MIB · .1.3.6.1.4.1.11863.6.34.1.2.1.1.8

Object

column Enumeration
The current state of a switch:
              
init			- The switch is initializing.
              
disc			- The switch is discovering other switchs.
              
sync			- The switch is now synchronizing config with other stack members.
              
ready           - The switch is now ready.
              
verMismatch     - The software version running on the
         master is different with this member.

Context

MIB
TPLINK-STACK-MIB
OID
.1.3.6.1.4.1.11863.6.34.1.2.1.1.8
Type
column
Access
readonly
Status
current
Parent
tpSwitchInfoEntry

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 'TPLINK-STACK-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TPLINK-STACK-MIB::tpSwitchState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TPLINK-STACK-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TPLINK-STACK-MIB::tpSwitchState.<tpSwitchCurrentUnit>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TPLINK-STACK-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TPLINK-STACK-MIB::tpSwitchState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1init
2disc
3sync
4ready
5verMismatch