rstpBridgePortStateTBLBridgePortRole
CORIANT-GROOVE-MIB ·
.1.3.6.1.4.1.42229.1.2.20.8.1.1.3
Object
column Enumeration
The role payed by this port in the bridge
default value :unknown
Context
- MIB
- CORIANT-GROOVE-MIB
- OID
.1.3.6.1.4.1.42229.1.2.20.8.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rstpBridgePortStateTBLEntry
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 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CORIANT-GROOVE-MIB::rstpBridgePortStateTBLBridgePortRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CORIANT-GROOVE-MIB::rstpBridgePortStateTBLBridgePortRole.<rstpBridgeInstanceBridgeName>.<rstpBridgePortStateTBLIfname>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CORIANT-GROOVE-MIB::rstpBridgePortStateTBLBridgePortRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | designated |
2 | root |
3 | alternate |
4 | disabled |
5 | backup |
6 | unknown |