All MIBs › HUAWEI-IPDSLAM-MSTP-MIB › hwMstpiPortState
hwMstpiPortState
Module: HUAWEI-IPDSLAM-MSTP-MIB
OID (symbolic): HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortState
OID (numeric): 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Indicates the port status. Options: 1. disabled(1) -indicates the port is down 2. discarding(2) -indicates the port is discarding. During this phase, port can only receive and process BPDU data packet, not forward traffic, root bridge, root port, and specified port will be voted 3. learning(4) -indicates the port is learning. During this phase, bridge will create MAC address table according the received traffic, but not forward traffic 4. forwarding(5) -indicates traffic forward
What is hwMstpiPortState?
Reports the current spanning-tree state of this port for the instance: disabled (down), discarding (processing only BPDUs, not forwarding), learning (building the MAC table but still not forwarding), or forwarding (passing traffic normally). Admins watch for a port stuck in discarding or learning instead of progressing to forwarding, a sign of a spanning-tree convergence problem.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.2 snmpwalk -v2c -c public <target> HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.2.1 snmpget -v2c -c public <target> HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortState.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwMstpiPortState.1
Start monitoring Huawei IP-DSLAM access node (Multiple Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortState OID value, configure state conditions and alerts, and monitor any Huawei IP-DSLAM access node (Multiple Spanning Tree Protocol) 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 | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.42 | hwL2Mgmt | HUAWEI-IPDSLAM-MSTP-MIB |
| 1.3.6.1.4.1.2011.5.25.42.4 | hwMstp | HUAWEI-IPDSLAM-MSTP-MIB |
| 1.3.6.1.4.1.2011.5.25.42.4.1 | hwMstpObjects | HUAWEI-IPDSLAM-MSTP-MIB |
| 1.3.6.1.4.1.2011.5.25.42.4.1.20 | hwMstpPortTable | HUAWEI-IPDSLAM-MSTP-MIB |
| 1.3.6.1.4.1.2011.5.25.42.4.1.20.1 | hwMstpPortEntry | HUAWEI-IPDSLAM-MSTP-MIB |
| 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.2 | hwMstpiPortState | HUAWEI-IPDSLAM-MSTP-MIB |