iwBrPortStpRole
INFINET-BRIDGE-MIB ·
.1.3.6.1.4.1.3942.1.1.8.1.3.1.1.5
Object
column Enumeration
The port's current role, as defined by application of the Spanning Tree Protocol.
Context
- MIB
- INFINET-BRIDGE-MIB
- OID
.1.3.6.1.4.1.3942.1.1.8.1.3.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- iwBrPortEntry
- 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 'INFINET-BRIDGE-MIB' -M '/opt/observium/mibs/infinet:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'INFINET-BRIDGE-MIB::iwBrPortStpRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'INFINET-BRIDGE-MIB' -M '/opt/observium/mibs/infinet:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'INFINET-BRIDGE-MIB::iwBrPortStpRole.<iwBrPortGrpId>.<iwBrPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'INFINET-BRIDGE-MIB' -M '/opt/observium/mibs/infinet:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'INFINET-BRIDGE-MIB::iwBrPortStpRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | root |
3 | designated |
4 | alternate |
5 | backup |
Conformance
Member of