mplsTunnelHopAsNumber

MPLS-TE-STD-MIB · .1.3.6.1.2.1.10.166.3.2.4.1.7

Object

If mplsTunnelHopAddrType is set to asnumber(3), then
this value will contain the AS number of this hop.
Otherwise the agent should set this object to zero-
length string and the manager should ignore this.

Context

MIB
MPLS-TE-STD-MIB
OID
.1.3.6.1.2.1.10.166.3.2.4.1.7
Type
column
Access
readwrite
Status
current
Parent
mplsTunnelHopEntry
Groups
1

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 'MPLS-TE-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-TE-STD-MIB::mplsTunnelHopAsNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-TE-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-TE-STD-MIB::mplsTunnelHopAsNumber.<mplsTunnelHopListIndex>.<mplsTunnelHopPathOptionIndex>.<mplsTunnelHopIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-TE-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-TE-STD-MIB::mplsTunnelHopAsNumber'

Syntax

Values & Constraints

Type Constraints
range: 4

Conformance

Member of
Compliance refinements
Write access is not required.