ieee8021SpanningTreePortEnabled
IEEE8021-SPANNING-TREE-MIB ·
.1.3.111.2.802.1.1.3.1.2.1.5
Object
The enabled/disabled status of the port. A value of true(1)
means the spanning-tree protocol is enabled for this port.
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.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ieee8021SpanningTreePortEntry
- 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::ieee8021SpanningTreePortEnabled'
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::ieee8021SpanningTreePortEnabled.<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::ieee8021SpanningTreePortEnabled'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of