ieee8021SpanningTreePortPriority
IEEE8021-SPANNING-TREE-MIB ·
.1.3.111.2.802.1.1.3.1.2.1.3
Object
column r/w
Integer32
The value of the priority field that is contained in
the first (in network byte order) octet of the (2 octet
long) Port ID. The other octet of the Port ID is given
by the value of ieee8021SpanningTreePort.
On Bridges supporting IEEE 802.1t or IEEE 802.1w,
permissible values are 0-240, in steps of 16.
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.3- 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::ieee8021SpanningTreePortPriority'
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::ieee8021SpanningTreePortPriority.<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::ieee8021SpanningTreePortPriority'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255
Conformance
Member of
Compliance refinements
ieee8021SpanningTreeCompliance
Integer32
range: 0
range: 16
range: 32
range: 48
range: 64
range: 80
range: 96
range: 112
range: 128
range: 144
range: 160
range: 176
range: 192
range: 208
range: 224
range: 240
The possible values defined by IEEE 802.1t.
ieee8021SpanningTreeRstpCompliance
Integer32
range: 0
range: 16
range: 32
range: 48
range: 64
range: 80
range: 96
range: 112
range: 128
range: 144
range: 160
range: 176
range: 192
range: 208
range: 224
range: 240
The possible values defined by IEEE 802.1t.