All MIBs › HUAWEI-MSTP-MIB › hwMstpiPortRootGuard
hwMstpiPortRootGuard
Module: HUAWEI-MSTP-MIB
OID (symbolic): HUAWEI-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: Whether the root guard is enabled. The function is to prevent the port from receiving the BPDU , the priority of which is above the priority of the port. When set the value, the hwMstpInstanceID must be 0.
What is hwMstpiPortRootGuard?
Enables or disables Root Guard on this port, which prevents the port from accepting a superior BPDU (one with higher priority than the port's own). An admin uses this on access-facing ports to stop a misconfigured or rogue switch downstream from becoming the root bridge. This setting can only be written when hwMstpInstanceID is 0.
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-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-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 enterprise or carrier switch/bridge (Multiple Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-MSTP-MIB::hwMstpiPortRootGuard OID value, configure state conditions and alerts, and monitor any Huawei enterprise or carrier switch/bridge (Multiple Spanning Tree Protocol) from a single console.
OID Breakdown
Upper-level ancestors (14 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.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.24 | hwMstpiPortRootGuard | HUAWEI-MSTP-MIB |