ipMcastRouteRtType
IPMCAST-MIB ·
.1.3.6.1.2.1.168.1.5.1.17
Object
column Enumeration
The reason the given route was placed in the (logical) multicast Routing Information Base (RIB). A value of unicast means that the route would normally be placed only in the unicast RIB, but was placed in the multicast RIB due (instead or in addition) to local configuration, such as when running PIM over RIP. A value of multicast means that the route was explicitly added to the multicast RIB by the routing protocol, such as the Distance Vector Multicast Routing Protocol (DVMRP) or Multiprotocol BGP.
Context
- MIB
- IPMCAST-MIB
- OID
.1.3.6.1.2.1.168.1.5.1.17- 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::ipMcastRouteRtType'
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::ipMcastRouteRtType.<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::ipMcastRouteRtType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unicast |
2 | multicast |
Conformance
Member of