stpxRSTPPortRoleValue
CISCO-STP-EXTENSIONS-MIB ·
.1.3.6.1.4.1.9.9.82.1.12.2.1.3
Object
column Enumeration
Indicates the port role on a particular Spanning Tree
instance for the RSTP protocol.
disabled -- this port has no role in this Spanning
Tree instance.
root -- this port has the role of root port in this
Spanning Tree instance.
designated -- this port has the role of designated
port in this Spanning Tree instance.
alternate -- this port has the role of alternate port
in this Spanning Tree instance.
backUp -- this port has the role of backup port in this
Spanning Tree instance.
boundary -- this port has the role of boundary port in
this Spanning Tree instance.
master -- this port has the role of master port in
this Spanning Tree instance.
This object could have a value of 'boundary' or 'master'
only when the object value of stpxSpanningTreeType is mst(4).
Context
- MIB
- CISCO-STP-EXTENSIONS-MIB
- OID
.1.3.6.1.4.1.9.9.82.1.12.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- stpxRSTPPortRoleEntry
- 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 'CISCO-STP-EXTENSIONS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STP-EXTENSIONS-MIB::stpxRSTPPortRoleValue'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STP-EXTENSIONS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STP-EXTENSIONS-MIB::stpxRSTPPortRoleValue.<stpxRSTPPortRoleInstanceIndex>.<stpxRSTPPortRolePortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STP-EXTENSIONS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STP-EXTENSIONS-MIB::stpxRSTPPortRoleValue'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | root |
3 | designated |
4 | alternate |
5 | backUp |
6 | boundary |
7 | master |
Conformance
Member of