hwdot1sMstBpduGuard

HUAWEI-LswMSTP-MIB · .1.3.6.1.4.1.2011.2.23.1.14.7

Object

scalar r/w EnabledStatus
Whether the Bridge BPDU Guard function is enabled.  If the function
is enabled, the port will shutdown when received BPDU and the port
is configured as portfast.

Context

MIB
HUAWEI-LswMSTP-MIB
OID
.1.3.6.1.4.1.2011.2.23.1.14.7
Type
scalar
Access
readwrite
Status
current
Parent
hwdot1sMstp

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LswMSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswMSTP-MIB::hwdot1sMstBpduGuard.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LswMSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LswMSTP-MIB::hwdot1sMstBpduGuard'

Syntax

Source
EnabledStatus
Base type
Enumeration

Values & Constraints

Type Values
1enabled
2disabled