tpStackPortStatus
TPLINK-STACK-MIB ·
.1.3.6.1.4.1.11863.6.34.1.2.2.1.2
Object
column Enumeration
The state of the stackport.
ok - Connected and operational.
down - Link down.
authFail - The stack port is link-up but no discovery packets received or
malformed packet received.
ethernet - The port now works in Ethernet mode.
Context
- MIB
- TPLINK-STACK-MIB
- OID
.1.3.6.1.4.1.11863.6.34.1.2.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tpStackPortInfoEntry
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::tpStackPortStatus'
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::tpStackPortStatus.<ifIndex>'
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::tpStackPortStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ok |
2 | down |
3 | authFail |
4 | ethernet |