hwMstpProPortRootGuard

HUAWEI-MSTP-MIB · .1.3.6.1.4.1.2011.5.25.42.4.1.25.1.24

Object

column r/w HwMSTPEnabledStatus
Whether the root guard is enabled. The function is to prevent 
the port from receiving the BPDUs, the priority of which is 
above the priority of the port.

Context

MIB
HUAWEI-MSTP-MIB
OID
.1.3.6.1.4.1.2011.5.25.42.4.1.25.1.24
Type
column
Access
readwrite
Status
current
Parent
hwMstpProPortEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MSTP-MIB::hwMstpProPortRootGuard'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MSTP-MIB::hwMstpProPortRootGuard.<hwMstpProID>.<hwMstpInstanceID>.<hwMstpiPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MSTP-MIB::hwMstpProPortRootGuard'

Syntax

Source
HwMSTPEnabledStatus
Base type
Enumeration

Values & Constraints

Type Values
1enabled
2disabled