All MIBs › FOUNDRY-SN-SWITCH-GROUP-MIB › snIfStpPortState
snIfStpPortState
Module: FOUNDRY-SN-SWITCH-GROUP-MIB
OID (symbolic): FOUNDRY-SN-SWITCH-GROUP-MIB::snIfStpPortState
OID (numeric): 1.3.6.1.4.1.1991.1.1.3.5.2.1.8
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
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 snIfStpPortState?
This object shows the current Spanning Tree Protocol state of a switch port (disabled, blocking, listening, learning, or forwarding). The port state determines whether and how the port processes received frames. Operators use this to diagnose layer-2 loop prevention behavior and verify STP convergence.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.3.5.2.1.8 snmpwalk -v2c -c public <target> FOUNDRY-SN-SWITCH-GROUP-MIB::snIfStpPortState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.3.5.2.1.8.1 snmpget -v2c -c public <target> FOUNDRY-SN-SWITCH-GROUP-MIB::snIfStpPortState.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> snIfStpPortState.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.1991 | foundry | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1 | products | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1 | switch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.3 | snSwitch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.3.5 | snPortStpInfo | FOUNDRY-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.1991.1.1.3.5.2 | snIfStpTable | FOUNDRY-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.1991.1.1.3.5.2.1 | snIfStpEntry | FOUNDRY-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.1991.1.1.3.5.2.1.8 | snIfStpPortState | FOUNDRY-SN-SWITCH-GROUP-MIB |