stpDot1dStpPort
STP-MIB ·
.1.3.6.1.4.1.13464.1.2.4.3.1.1.15.1.1
Object
column Integer32
The port number of the port for which this entry contains Spanning Tree Protocol management information.
Context
- MIB
- STP-MIB
- OID
.1.3.6.1.4.1.13464.1.2.4.3.1.1.15.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- stpDot1dStpPortEntry
- Groups
- 1
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 'STP-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STP-MIB::stpDot1dStpPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STP-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STP-MIB::stpDot1dStpPort.<stpDot1dStpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STP-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STP-MIB::stpDot1dStpPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-128
Conformance
Member of