Debugging PIM

In addition, see show router-configuration.

Use these commands to debug PIM:

Command

Shows

show pim interface

Which interfaces are running PIM, their status, and the mode they are running.

This command also shows the interface and its DR priority and the number of PIM neighbors on the interface.

show pim neighbors

The IP address of each PIM neighbor and the interface on which the neighbor is present.

This command also shows the neighbor's DR priority, generation ID, holdtime and the time the neighbor is set to expire based on the holdtime received in the most recent hello message.

show pim statistics

The number of different types of PIM packets received and transmitted and any associated errors.

show mfc cache

Multicast source and group forwarding state by prefix.

show mfc interfaces

Shows multicast source and group forwarding state by interface.

Use these commands to debug Sparse-Mode PIM:

Command

Shows

show pim bootstrap

The IP address and state of the Bootstrap router.

show pim candidate-rp

The state of the Candidate Rendezvous Point state machine.

show pim joins

PIM's view of the join-prune (*, G and S, G) state, including RP for the group, incoming, and outgoing interface(s), interaction with the multicast forwarding cache and the presence of local members.

To view the equivalent information for dense-mode PIM, use the "show mfc cache" command.

show pim rps

The active Rendezvous Point (RP) set, including the RP addresses, their type (or source of information about them) and the groups for which they are configured to act as RP.

show pim group-rp-mapping <group-address>

The RP selected for a particular group based on information from the active RP-set.

show pim sparse-mode statistics

Error statistics for:

  • Multicast Forwarding Cache (MFC)

  • Bootstrap Router (BSR) messages;

  • Candidate Rendezvous Point (CRP) advertisements

  • Internet Group Management Protocol (IGMP)