All MIBs › SW-LAYER2-PORT-MANAGEMENT-MIB › swL2PortCtrlStpState
swL2PortCtrlStpState
Module: SW-LAYER2-PORT-MANAGEMENT-MIB
OID (symbolic): SW-LAYER2-PORT-MANAGEMENT-MIB::swL2PortCtrlStpState
OID (numeric): 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.4.2.1.11
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The state of STP(spanning tree algorithm) operation on this port. That's meaning the port whether add in the STP. The value enabled(3) indicates that STP is enabled on this port, as long as swDevCtrlStpState is also enabled for this device. When disabled(2) but swDevCtrlStpState is still enabled for the device, STP is disabled on this port : any BPDU packets received will be discarded and no BPDU packets will be propagated from the port.
What is swL2PortCtrlStpState?
Controls whether Spanning Tree Protocol participates on this specific port, assuming STP is enabled switch-wide; disabling it here makes the port discard and never forward BPDU packets, effectively excluding it from the spanning tree topology.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.4.2.1.11 snmpwalk -v2c -c public <target> SW-LAYER2-PORT-MANAGEMENT-MIB::swL2PortCtrlStpState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.4.2.1.11.1 snmpget -v2c -c public <target> SW-LAYER2-PORT-MANAGEMENT-MIB::swL2PortCtrlStpState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.4.2.1.11.1 i <value>
Start monitoring D-Link/Marconi ES2000-series Layer 2 switch (per-port link/control/statistics) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SW-LAYER2-PORT-MANAGEMENT-MIB::swL2PortCtrlStpState OID value, configure state conditions and alerts, and monitor any D-Link/Marconi ES2000-series Layer 2 switch (per-port link/control/statistics) from a single console.
OID Breakdown
Upper-level ancestors (15 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.326 | fore | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2 | systems | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20 | ethernet | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1 | edge | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2 | golf | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2 | golfcommon | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2 | fore_mgmt | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28 | es2000Mgmt | SW-COMMON-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2 | swL2Mgmt | SW-COMMON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.4 | swL2PortMgmt | SW-LAYER2-PORT-MANAGEMENT-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.4.2 | swL2PortCtrlTable | SW-LAYER2-PORT-MANAGEMENT-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.4.2.1 | swL2PortCtrlEntry | SW-LAYER2-PORT-MANAGEMENT-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.2.4.2.1.11 | swL2PortCtrlStpState | SW-LAYER2-PORT-MANAGEMENT-MIB |