Using PIM Debugging Commands

Use Protocol Independent Multicast (PIM) traces to aid in PIM troubleshooting.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Start debug trace message output:

    debug ip pim pimdbgtrace

  3. Stop debug trace message output:

    no debug ip pim pimdbgtrace

    default debug ip pim pimdbgtrace

  4. Configure the system to display trace messages forwarded by the device:

    debug ip pim send-dbg-trace

  5. Stop the system from displaying trace messages forwarded by the device:

    no debug ip pim send-dbg-trace

    default debug ip pim send-dbg-trace

  6. Configure the system to display trace messages received by the device:

    debug ip pim rcv-dbg-trace

  7. Stop the system from displaying trace messages received by the device:

    no debug ip pim rcv-dbg-trace

    default debug ip pim rcv-dbg-trace

  8. Configure the system to display hello messages forwarded or received by the device:

    debug ip pim hello

  9. Stop the system from displaying hello messages forwarded or received by the device:

    no debug ip pim hello

    default debug ip pim hello

  10. Configure the system to display and log debug trace messages:

    debug ip pim pimdbglog

  11. Stop the system from displaying and logging debug trace messages:

    no debug ip pim pimdbglog

    default debug ip pim pimdbglog

  12. Configure the system to display register messages forwarded or received by the device:

    debug ip pim register

  13. Stop the system from displaying register messages forwarded or received by the device:

    no debug ip pim register

    default debug ip pim register

  14. Configure the system to display debug trace messages after an enabled message type, for example, hello or register, is received from a specific sender IP address:

    debug ip pim source {A.B.C.D}

Variable Definitions

The following table defines parameters for the debug ip pim command.

Variable

Value

assert

Displays the assert debug traces. The default is false (disabled).

bstrap

Displays bootstrap debug traces. The default is false (disabled).

group {A.B.C.D}

Displays debug traces from a specific group IP address. The default is 0.0.0.0 (disabled).

hello

Displays hello debug traces. The default is false (disabled).

joinprune

Displays join and prune debug traces. The default is false (disabled).

pimdbglog

Logs debug traces. The default is false (disabled).

pimdbgtrace

Displays PIM debug traces. The default is false (disabled).

rcv-dbg-trace

Displays trace messages received by the switch. The default is false (disabled).

register

If enabled, the system displays register debug traces. The default is false (disabled).

regstop

Displays register stop debug traces. The default is false (disabled).

rp-adv

Displays RP advertisement debug traces. The default is false (disabled).

send-dbg-trace

Displays trace messages forwarded by the switch. The default is false (disabled).

source {A.B.C.D}

Displays debug traces from a specific source IP address. The default is 0.0.0.0 (disabled).