hwMstpBridgeMaxHops
HUAWEI-MSTP-MIB ·
.1.3.6.1.4.1.2011.5.25.42.4.1.4
Object
scalar r/w
Integer32
The value of this object identifies the maximum hops of a spanning tree in an MST region. The maximum hops of a spanning tree in an MST region can limit the network scale of the spanning tree. The object takes effect when the bridge is the root bridge. If the TTL of the BPDU received by the device is 0, the device discards the BPDU.
Context
- MIB
- HUAWEI-MSTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.42.4.1.4- 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-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MSTP-MIB::hwMstpBridgeMaxHops.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MSTP-MIB::hwMstpBridgeMaxHops'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-64
range: 1-40
Conformance
Member of