tpSwitchRole
TPLINK-STACK-MIB ·
.1.3.6.1.4.1.11863.6.34.1.2.1.1.4
Object
column Enumeration
This object describes the function of the switch:
slave - stack member.
master - stack master.
Context
- MIB
- TPLINK-STACK-MIB
- OID
.1.3.6.1.4.1.11863.6.34.1.2.1.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tpSwitchInfoEntry
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 'TPLINK-STACK-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TPLINK-STACK-MIB::tpSwitchRole'
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::tpSwitchRole.<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::tpSwitchRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | slave |
1 | master |