HUAWEI-IPDSLAM-MSTP-MIB :: hwMstpiPortRootGuard

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsHUAWEI-IPDSLAM-MSTP-MIBhwMstpiPortRootGuard

hwMstpiPortRootGuard

Module: HUAWEI-IPDSLAM-MSTP-MIB

OID (symbolic): HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortRootGuard

OID (numeric): 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.24

Node type: OBJECT-TYPE

Type: HwMSTPEnabledStatus

Access: read-write

Description: Indicates whether root protection is enabled on the port. Options: 1. enabled(1) -indicates root protection is enabled on the port 2. disabled(2) -indicates root protection is disabled on the port Default: disabled(2)

What is hwMstpiPortRootGuard?

Turns root-guard protection on or off for the port, default disabled(2). Enabling it stops the port from ever becoming a root port -- a superior BPDU received on it is blocked instead, protecting against a rogue or misconfigured device trying to become the network's root bridge.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.24
snmpwalk -v2c -c public <target> HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortRootGuard

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.24.1
snmpget -v2c -c public <target> HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortRootGuard.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.24.1 s <value>

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::hwMstpiPortRootGuard 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.2011huaweiHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25huaweiDatacommHUAWEI-3COM-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.25.42hwL2MgmtHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4hwMstpHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1hwMstpObjectsHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1.20hwMstpPortTableHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1.20.1hwMstpPortEntryHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1.20.1.24hwMstpiPortRootGuardHUAWEI-IPDSLAM-MSTP-MIB