mplsTunnelCHopIpPrefixLen
MPLS-TE-STD-MIB ·
.1.3.6.1.2.1.10.166.3.2.8.1.5
Object
If mplsTunnelCHopAddrType is set to ipv4(1) or ipv6(2), then this value will contain an appropriate prefix length for the IP address in object mplsTunnelCHopIpAddr. Otherwise this value is irrelevant and should be ignored.
Context
- MIB
- MPLS-TE-STD-MIB
- OID
.1.3.6.1.2.1.10.166.3.2.8.1.5- 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::mplsTunnelCHopIpPrefixLen'
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::mplsTunnelCHopIpPrefixLen.<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::mplsTunnelCHopIpPrefixLen'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040
Conformance
Member of