ipMcastRouteRtPrefixLength
IPMCAST-MIB ·
.1.3.6.1.2.1.168.1.5.1.16
Object
The length in bits of the mask associated with the route
used to find the upstream or parent interface for this
multicast forwarding entry.
The InetAddressType is given by ipMcastRouteRtAddressType.
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.16- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ipMcastRouteEntry
- 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 'IPMCAST-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPMCAST-MIB::ipMcastRouteRtPrefixLength'
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::ipMcastRouteRtPrefixLength.<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::ipMcastRouteRtPrefixLength'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040
Conformance
Member of