ieee8021SpanningTreeVersion
IEEE8021-SPANNING-TREE-MIB ·
.1.3.111.2.802.1.1.3.1.1.1.16
Object
column r/w
Enumeration
The version of Spanning Tree Protocol the Bridge is
currently running. The values are directly from
the IEEE standard. New values may be defined as future
versions of the protocol become available.
The value 'stp(0)' indicates the Bridge is running the
Spanning Tree Protocol specified in IEEE Std 802.1D-1998.
The value 'rstp(2)' indicates the Bridge is running RSTP
specified in IEEE 802.1Q.
The value 'mstp(3)' indicates the Bridge is running
MSTP specified in Clause 13 of IEEE Std 802.1Q.
The value of this object MUST be retained across
reinitializations of the management system.
Context
- MIB
- IEEE8021-SPANNING-TREE-MIB
- OID
.1.3.111.2.802.1.1.3.1.1.1.16- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ieee8021SpanningTreeEntry
- 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 'IEEE8021-SPANNING-TREE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreeVersion'
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::ieee8021SpanningTreeVersion.<ieee8021SpanningTreeComponentId>'
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::ieee8021SpanningTreeVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | stp |
2 | rstp |
3 | mstp |
Conformance
Member of