All MIBs › GIGAswitchEthernet-MIB › gsESwitchPortSTAPMode
gsESwitchPortSTAPMode
Module: GIGAswitchEthernet-MIB
OID (symbolic): GIGAswitchEthernet-MIB::gsESwitchPortSTAPMode
OID (numeric): 1.3.6.1.4.1.36.2.18.39.5.2.1.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Disabling spanning tree on a switch port prevents the switch port from participating in the spanning tree process. When disabled(2), this port will neither generate BPDUs, nor process received BPDUs. Also, the port will always start in the forwarding state. A port configured in this mode will not be able to detect network loops involving this port.
The factory default is to enable spanning tree on all ports.
What is gsESwitchPortSTAPMode?
Enables or disables Spanning Tree participation on this switch port; when disabled, the port neither sends nor processes BPDUs, always starts in the forwarding state, and can't detect loops involving itself. The factory default enables STP on every port; admins disable it only on a port they're certain can never form a loop, e.g. a single-host access port, to speed up its link-up time.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.36.2.18.39.5.2.1.1.2 snmpwalk -v2c -c public <target> GIGAswitchEthernet-MIB::gsESwitchPortSTAPMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.36.2.18.39.5.2.1.1.2.1 snmpget -v2c -c public <target> GIGAswitchEthernet-MIB::gsESwitchPortSTAPMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.36.2.18.39.5.2.1.1.2.1 i <value>
Start monitoring Digital Equipment Corporation (DEC) GIGAswitch/Ethernet chassis switch (legacy) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the GIGAswitchEthernet-MIB::gsESwitchPortSTAPMode OID value, configure state conditions and alerts, and monitor any Digital Equipment Corporation (DEC) GIGAswitch/Ethernet chassis switch (legacy) from a single console.
OID Breakdown
Upper-level ancestors (9 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.36 | dec | CMU-MIB |
| 1.3.6.1.4.1.36.2 | ema | DEC-ATM-CHASSIS-MIB |
| 1.3.6.1.4.1.36.2.18 | decMIBextension | DEC-ATM-CHASSIS-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.36.2.18.39 | gsEMIB | GIGAswitchEthernet-MIB |
| 1.3.6.1.4.1.36.2.18.39.5 | gsESwitching | GIGAswitchEthernet-MIB |
| 1.3.6.1.4.1.36.2.18.39.5.2 | gsESwitchPortMgt | GIGAswitchEthernet-MIB |
| 1.3.6.1.4.1.36.2.18.39.5.2.1 | gsESwitchPortTable | GIGAswitchEthernet-MIB |
| 1.3.6.1.4.1.36.2.18.39.5.2.1.1 | gsESwitchPortEntry | GIGAswitchEthernet-MIB |
| 1.3.6.1.4.1.36.2.18.39.5.2.1.1.2 | gsESwitchPortSTAPMode | GIGAswitchEthernet-MIB |