Routing Table The show ip mroute command is the most useful command for determining the state of multicast sources and groups from the perspective of the selected router. The output of the command generally represents a part of the multicast distribution tree, with an incoming interface and a list of outgoing interfaces. The following options are available: The output of the show ip mroute command in Figure shows a multicast routing table in a PIM-SM environment:
Content 7.4 Multicast Configuration and Verification 7.4.3 Finding PIM Neighbors When PIM-SM is configured, the first step in verifying proper operation is to check PIM-enabled interfaces and to determine whether the PIM neighbors are correct. You can use the following commands to accomplish this: The show ip pim interface command displays the following information: The show ip pim neighbor command displays the following information: The sample output of the mrinfo command in Figure displays information about the connected multicast-enabled routers peering with the R1 router.
Content 7.4 Multicast Configuration and Verification 7.4.4 Checking RP Information The RP for a certain multicast group operating in PIM-SM has to be reachable and known to the router. In addition to using a unicast ping, you can use the following commands when troubleshooting RP reachability: The show ip pim rp command just lists all active groups and their associated RPs. This form of the command is becoming obsolete, because it offers limited information. In most cases, you should use the show ip pim rp mapping instead , because it provides details on the actual contents of the group-to-RP mapping cache, such as the following: The show ip rpf command displays RPF information associated with the specified source address. The specified address does not necessarily have to be a currently active source. In fact, it may be an IP address, including the address of the RP. Specifying the address of the RP is very useful in determining the RPF information for the shared tree. “RPF interface” is the interface in the direction of the source (or RP), while “RPF neighbor” is the address of the next-hop router in the direction of the source (or RP). “RPF type” indicates the source of the RPF information. In the example, unicast indicates that the information was derived from the unicast routing table (in this case, from Open Shortest Path First Protocol [OSPF]). Other RPF types include Distance Vector Multicast Routing Protocol (DVMRP), Multiprotocol Border Gateway Protocol (BGP) extensions for IP multicast, or static. RPF information is essential in multicast routing, and special care has to be taken when inspecting the PIM-SM information because of the possible coexistence of shared trees and SPTs.
Content 7.4 Multicast Configuration and Verification 7.4.5 Checking the Group State If the multicast traffic is not flowing to receivers, the IGMP group membership has to be checked on the leaf routers. The show ip igmp interface command displays information about the selected interface, and the show ip igmp groups command lists the local groups known to the router. Enabling PIM on an interface also enables IGMP operation on that interface. An interface can be configured as dense, sparse, or sparse-dense mode. The mode determines how the router populates its multicast routing table and how the router forwards multicast packets that it receives from its directly connected LANs. You must enable PIM in one of these modes for an interface to perform IP multicast routing. Figures and display sample output for each command.
Content 7.4 Multicast Configuration and Verification