All MIBs › FOUNDRY-SN-SWITCH-GROUP-MIB › snIfStpPortNum
snIfStpPortNum
Module: FOUNDRY-SN-SWITCH-GROUP-MIB
OID (symbolic): FOUNDRY-SN-SWITCH-GROUP-MIB::snIfStpPortNum
OID (numeric): 1.3.6.1.4.1.1991.1.1.3.5.2.1.2
Node type: OBJECT-TYPE
Type: InterfaceIndex
Access: read-only
Description:
The port number of the Switch. It has the ifIndex value.
What is snIfStpPortNum?
This is the port number on the switch that participates in the spanning tree protocol for loop prevention. It matches the standard interface index and identifies which physical port is being monitored by the spanning tree algorithm. An operator checks this to verify which ports are actively forwarding or blocked in the topology.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.3.5.2.1.2 snmpwalk -v2c -c public <target> FOUNDRY-SN-SWITCH-GROUP-MIB::snIfStpPortNum
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.3.5.2.1.2.1 snmpget -v2c -c public <target> FOUNDRY-SN-SWITCH-GROUP-MIB::snIfStpPortNum.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.2 | snIfStpPortNum | FOUNDRY-SN-SWITCH-GROUP-MIB |