hwDot1dStpRootType
HUAWEI-LswRSTP-MIB ·
.1.3.6.1.4.1.2011.2.23.1.6.1.7
Object
scalar r/w
Enumeration
Root type of the bridge
Context
- MIB
- HUAWEI-LswRSTP-MIB
- OID
.1.3.6.1.4.1.2011.2.23.1.6.1.7- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwLswRstpMibObject
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::hwDot1dStpRootType.0'
More examples
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::hwDot1dStpRootType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | normal |
2 | primary |
3 | secondary |