mplsTunnelCHopAsNumber
MPLS-TE-STD-MIB ·
.1.3.6.1.2.1.10.166.3.2.8.1.6
Object
If mplsTunnelCHopAddrType 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.8.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- mplsTunnelCHopEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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::mplsTunnelCHopAsNumber'
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::mplsTunnelCHopAsNumber.<mplsTunnelCHopListIndex>.<mplsTunnelCHopIndex>'
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::mplsTunnelCHopAsNumber'
Syntax
- Source
- MPLS-TC-STD-MIBTeHopAddressAS
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Conformance
Member of