hwMstpForceVersion
HUAWEI-IPDSLAM-MSTP-MIB ·
.1.3.6.1.4.1.2011.5.25.42.4.1.2
Object
scalar r/w
Enumeration
Indicates the MSTP version of the current bridge. Options: 1. stp(0) -indicates the MSTP version of the current bridge is stp 2. rstp(2) -indicates the MSTP version of the current bridge is rstp 3. mstp(3) -indicates the MSTP version of the current bridge is mstp Default: mstp(3) rstp(2) is not supported.
Context
- MIB
- HUAWEI-IPDSLAM-MSTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.42.4.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwMstpObjects
- Groups
- 1
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-IPDSLAM-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-MSTP-MIB::hwMstpForceVersion.0'
More examples
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::hwMstpForceVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | stp |
2 | rstp |
3 | mstp |
Conformance
Member of