ipMcastRouteSourcePrefixLength
IPMCAST-MIB ·
.1.3.6.1.2.1.168.1.5.1.6
Object
The length in bits of the mask which, when combined with
the corresponding value of ipMcastRouteSource, identifies
the sources for which this entry contains multicast routing
information.
The InetAddressType is given by
ipMcastRouteSourceAddressType. 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.5.1.6- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- ipMcastRouteEntry
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::ipMcastRouteSourcePrefixLength'
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::ipMcastRouteSourcePrefixLength.<ipMcastRouteGroupAddressType>.<ipMcastRouteGroup>.<ipMcastRouteGroupPrefixLength>.<ipMcastRouteSourceAddressType>.<ipMcastRouteSource>.<ipMcastRouteSourcePrefixLength>'
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::ipMcastRouteSourcePrefixLength'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040