dot1sStpBridgeMaxHops
MSTP-MIB ·
qtech variant
·
.1.3.6.1.2.1.17.8.1.1.7
Object
scalar r/w
Unsigned32
The maximum number of hops that the information for a particular Spanning Tree instance may traverse (via relay of BPDUs within the applicable MST region) before being discarded. This value is used only if this bridge is the CIST Regional Root and/or the MSTI Regional Root for one or more Multiple Spanning Tree instances.
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 'MSTP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSTP-MIB::dot1sStpBridgeMaxHops.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MSTP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MSTP-MIB::dot1sStpBridgeMaxHops'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-255