ipMcastRouteNextHopSourcePrefixLength
IPMCAST-MIB ·
.1.3.6.1.2.1.168.1.6.1.6
Object
The length in bits of the mask which, when combined with
the corresponding value specified in
ipMcastRouteNextHopSource, identifies the sources for which
this entry specifies a next-hop on an outgoing interface.
The InetAddressType is given by
ipMcastRouteNextHopSourceAddressType. For the value
'unknown', this object must be zero. For values 'ipv4' and
'ipv4z', this object must be in the range 4..32. For values
'ipv6' and 'ipv6z', this object must be in the range
8..128.
Context
- MIB
- IPMCAST-MIB
- OID
.1.3.6.1.2.1.168.1.6.1.6- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- ipMcastRouteNextHopEntry
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 'IPMCAST-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPMCAST-MIB::ipMcastRouteNextHopSourcePrefixLength'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IPMCAST-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPMCAST-MIB::ipMcastRouteNextHopSourcePrefixLength.<ipMcastRouteNextHopGroupAddressType>.<ipMcastRouteNextHopGroup>.<ipMcastRouteNextHopGroupPrefixLength>.<ipMcastRouteNextHopSourceAddressType>.<ipMcastRouteNextHopSource>.<ipMcastRouteNextHopSourcePrefixLength>.<ipMcastRouteNextHopIfIndex>.<ipMcastRouteNextHopAddressType>.<ipMcastRouteNextHopAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IPMCAST-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IPMCAST-MIB::ipMcastRouteNextHopSourcePrefixLength'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040