All MIBs › GBNDeviceSWAPI-MIB › sDot1dStpPortState
sDot1dStpPortState
Module: GBNDeviceSWAPI-MIB
OID (symbolic): GBNDeviceSWAPI-MIB::sDot1dStpPortState
OID (numeric): 1.3.6.1.4.1.13464.1.2.2.2.4.2.15.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The port's current state as defined by application of the Spanning Tree Protocol. This state controls what action a port takes on reception of a frame. If the bridge has detected a port that is malfunctioning it will place that port into the broken(6) state. For ports which are disabled (see dot1dStpPortEnable), this object will have a value of disabled(1).
What is sDot1dStpPortState?
Shows and can set a port's live STP role: forwarding(5) means it is actively passing traffic, blocking(2) means STP has shut off forwarding to prevent a loop, and broken(6) flags a malfunctioning port. Useful when troubleshooting an unexpected loss of connectivity that follows a topology change.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.13464.1.2.2.2.4.2.15.1.2 snmpwalk -v2c -c public <target> GBNDeviceSWAPI-MIB::sDot1dStpPortState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.13464.1.2.2.2.4.2.15.1.2.1 snmpget -v2c -c public <target> GBNDeviceSWAPI-MIB::sDot1dStpPortState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.13464.1.2.2.2.4.2.15.1.2.1 i <value>
Start monitoring Ethernet switch driver/OEM switch silicon (100Mb/1000Mb queue scheduling) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the GBNDeviceSWAPI-MIB::sDot1dStpPortState OID value, configure state conditions and alerts, and monitor any Ethernet switch driver/OEM switch silicon (100Mb/1000Mb queue scheduling) from a single console.
OID Breakdown
Upper-level ancestors (10 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.13464 | admin | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1 | dataCom | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2 | gbn | ADMIN-MASTER-MIB |
| 1.3.6.1.4.1.13464.1.2.2 | gbnDevice | ADMIN-MASTER-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.13464.1.2.2.2 | bcmSwapi | GBNDeviceSWAPI-MIB |
| 1.3.6.1.4.1.13464.1.2.2.2.4 | sRFC1493MIB | GBNDeviceSWAPI-MIB |
| 1.3.6.1.4.1.13464.1.2.2.2.4.2 | sDot1dStp | GBNDeviceSWAPI-MIB |
| 1.3.6.1.4.1.13464.1.2.2.2.4.2.15 | sDot1dStpPortTable | GBNDeviceSWAPI-MIB |
| 1.3.6.1.4.1.13464.1.2.2.2.4.2.15.1 | sDot1dStpPortEntry | GBNDeviceSWAPI-MIB |
| 1.3.6.1.4.1.13464.1.2.2.2.4.2.15.1.2 | sDot1dStpPortState | GBNDeviceSWAPI-MIB |