All MIBs › HUAWEI-RSTP-EXT-MIB › hwdot1dStpPortAdminStatus
hwdot1dStpPortAdminStatus
Module: HUAWEI-RSTP-EXT-MIB
OID (symbolic): HUAWEI-RSTP-EXT-MIB::hwdot1dStpPortAdminStatus
OID (numeric): 1.3.6.1.4.1.2011.5.21.1.5.1.1
Node type: OBJECT-TYPE
Type: EnabledStatus
Access: read-write
Description: Enabling/Disabling Spanning Tree on the Port The spanning tree can be disabled on specified Ethernet port to forbid these ports participating in spanning tree calculation.
What is hwdot1dStpPortAdminStatus?
This read-write value enables or disables Spanning Tree participation on a specific Ethernet port, defaulting to enabled(1), letting an admin forbid certain ports from taking part in spanning tree calculation. An admin disables this on ports that should never block or participate in loop detection, such as ports connected to end-user devices rather than other switches. Setting this to disabled(2) on an access port to a printer keeps that port out of spanning tree calculations entirely, since no loop risk exists there.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.21.1.5.1.1 snmpwalk -v2c -c public <target> HUAWEI-RSTP-EXT-MIB::hwdot1dStpPortAdminStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.21.1.5.1.1.1 snmpget -v2c -c public <target> HUAWEI-RSTP-EXT-MIB::hwdot1dStpPortAdminStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.21.1.5.1.1.1 s <value>
Start monitoring Huawei access/edge switch (RSTP extensions, BPDU guard/ring detection) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-RSTP-EXT-MIB::hwdot1dStpPortAdminStatus OID value, configure state conditions and alerts, and monitor any Huawei access/edge switch (RSTP extensions, BPDU guard/ring detection) 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.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.21 | hwRstpExt | HUAWEI-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.21.1 | hwRstpMibObject | HUAWEI-RSTP-EXT-MIB |
| 1.3.6.1.4.1.2011.5.21.1.5 | hwdot1dStpPortXTable | HUAWEI-RSTP-EXT-MIB |
| 1.3.6.1.4.1.2011.5.21.1.5.1 | hwdot1dStpPortXEntry | HUAWEI-RSTP-EXT-MIB |
| 1.3.6.1.4.1.2011.5.21.1.5.1.1 | hwdot1dStpPortAdminStatus | HUAWEI-RSTP-EXT-MIB |