hwMstpProNewPortRootGuard

HUAWEI-MSTP-MIB · .1.3.6.1.4.1.2011.5.25.42.4.1.29.1.23

Object

The value of this object identifies whether the root guard function is enabled on the port where the MSTI is configured.
The value can be: 1: enabled
2: disabled
By default, the root protection is disabled. The default value is disable(2).

Context

MIB
HUAWEI-MSTP-MIB
OID
.1.3.6.1.4.1.2011.5.25.42.4.1.29.1.23
Type
column
Access
readwrite
Status
current
Parent
hwMstpProNewPortEntry
Groups
1

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::hwMstpProNewPortRootGuard'
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::hwMstpProNewPortRootGuard.<hwMstpProID>.<hwMstpInstanceID>.<hwMstpPortId1>.<hwMstpPortId2>.<hwMstpPortId3>.<hwMstpPortId4>.<hwMstpPortIdFlag>'
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::hwMstpProNewPortRootGuard'

Syntax

Values & Constraints

Type Values
1enabled
2disabled

Conformance