hwdot1dStpRootGuard
HUAWEI-LswRSTP-MIB ·
.1.3.6.1.4.1.2011.2.23.1.6.1.5.1.14
Object
If the port guard root bridge. Other bridge which want to be root can not become root through this port if enabled.
Context
- MIB
- HUAWEI-LswRSTP-MIB
- OID
.1.3.6.1.4.1.2011.2.23.1.6.1.5.1.14- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwdot1dStpPortXEntry
Net-SNMP examples
How SNMP and these commands workWalk 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-LswRSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswRSTP-MIB::hwdot1dStpRootGuard'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LswRSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswRSTP-MIB::hwdot1dStpRootGuard.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LswRSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LswRSTP-MIB::hwdot1dStpRootGuard'
Syntax
- Source
- EnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enabled |
2 | disabled |