begemotBridgeStpPortState
BEGEMOT-BRIDGE-MIB ·
.1.3.6.1.4.1.12325.1.205.2.2.1.3
Object
column Enumeration
The current state of the port as defined by the operation of the Spanning Tree Protocol. If the Spanning Tree Protocol is administratively disabled on the port, this object shall have value disabled(1). A value of broken(6) does not correspond to any legal state of a port, and if present should indicate error in the operation of either the Spanning Tree Protocol implementation running on the device or the management entity.
Context
- MIB
- BEGEMOT-BRIDGE-MIB
- OID
.1.3.6.1.4.1.12325.1.205.2.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- begemotBridgeStpPortEntry
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 'BEGEMOT-BRIDGE-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BEGEMOT-BRIDGE-MIB::begemotBridgeStpPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BEGEMOT-BRIDGE-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BEGEMOT-BRIDGE-MIB::begemotBridgeStpPortState.<begemotBridgeBaseName>.<begemotBridgeBasePortIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BEGEMOT-BRIDGE-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BEGEMOT-BRIDGE-MIB::begemotBridgeStpPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | blocking |
3 | listening |
4 | learning |
5 | forwarding |
6 | broken |