swMSTPInstRemainHops

MSTP-MIB · d-link variant · .1.3.6.1.4.1.171.12.15.2.3.1.23

Object

column Integer32
The root bridge in the instance for MSTI always sends a BPDU
with a maximum hop count. When a switch receives this BPDU,
it decrements the received maximum hop count by one and
propagates this value as the remaining hop count in the
BPDUs it generates.

Context

MIB
MSTP-MIB
OID
.1.3.6.1.4.1.171.12.15.2.3.1.23
Type
column
Access
readonly
Status
current
Parent
swMSTPInstanceCtrlEntry

Walk 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 'MSTP-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSTP-MIB::swMSTPInstRemainHops'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MSTP-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSTP-MIB::swMSTPInstRemainHops.<swMSTPInstId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MSTP-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MSTP-MIB::swMSTPInstRemainHops'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647