hwMstpiRootType
HUAWEI-IPDSLAM-MSTP-MIB ·
.1.3.6.1.4.1.2011.5.25.42.4.1.19.1.7
Object
column r/w
Enumeration
Indicates the type of the bridge. Options: 1. normal(0) -indicates the bridge is normal 2. secondary(1) -indicates the bridge is secondary 3. primary(2) -indicates the bridge is primary Default: normal(0)
Context
- MIB
- HUAWEI-IPDSLAM-MSTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.42.4.1.19.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwMstpInstanceEntry
- Groups
- 1
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-IPDSLAM-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiRootType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-IPDSLAM-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiRootType.<hwMstpInstanceID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IPDSLAM-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiRootType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | normal |
1 | secondary |
2 | primary |
Conformance
Member of