ieee8021SpanningTreePort

IEEE8021-SPANNING-TREE-MIB · .1.3.111.2.802.1.1.3.1.2.1.2

Object

The port number of the port for which this entry
contains Spanning Tree Protocol management information.

Context

MIB
IEEE8021-SPANNING-TREE-MIB
OID
.1.3.111.2.802.1.1.3.1.2.1.2
Type
column
Access
noaccess
Status
current
Parent
ieee8021SpanningTreePortEntry

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

Values & Constraints

Type Constraints
range: 1..65535