zxr10MplsTunnelCHopIpPrefixLen
ZXR10-MPLS-TE-MIB ·
.1.3.6.1.4.1.3902.3.315.1.6.1.1.5
Object
column Unsigned32
If zxr10MplsTunnelCHopAddrType is set to ipv4(1) or ipv6(2), then this value will contain an appropriate prefix length for the IP address in object zxr10MplsTunnelCHopIpAddr. Otherwise this value is irrelevant and should be ignored.
Context
- MIB
- ZXR10-MPLS-TE-MIB
- OID
.1.3.6.1.4.1.3902.3.315.1.6.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Default
32- Parent
- zxr10MplsTunnelCHopEntry
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 'ZXR10-MPLS-TE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-MPLS-TE-MIB::zxr10MplsTunnelCHopIpPrefixLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-MPLS-TE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-MPLS-TE-MIB::zxr10MplsTunnelCHopIpPrefixLen.<zxr10MplsTunnelCHopListIndex>.<zxr10MplsTunnelCHopIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-MPLS-TE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-MPLS-TE-MIB::zxr10MplsTunnelCHopIpPrefixLen'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-2040