# debug ip pim

#### Syntax

The syntax differs for PIM Dense Mode and PIM Sparse Mode.

PIM Dense Mode:

debug ip pim { pimLog [ severity { severityValue | severityNumber } ]
[ verbosity verbosityLevel ] | switchState groupAddress sourceAddress |
dense-mode { on | off } }

PIM Sparse Mode:

debug ip pim { pimLog [ severity { severityValue | severityNumber } ]
[ verbosity verbosityLevel ] | switchState groupAddress sourceAddress |
sparse-mode { on | off | sg-state [ group groupAddress
[ source sourceAddress ] | rp rpAddress ] [ count ] } }

no debug ip pim pimLog

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Shows information about the selected variable. The no version disables the display.

#### Options

- pimLog—PIM log of interest; one of the following options:
  - autoRp-rcvd—Auto-RP packets received
  - autoRP-sent—Auto-RP packets sent
  - engineering—PIM engineering
  - hellos-rcvd—PIM hello messages received
  - hellos-sent—PIM hello messages sent
  - packets—PIM packets received and sent
  - packets-rcvd—PIM packets received
  - packets-sent—PIM packets sent
- severity—Specifies the minimum severity of the log messages displayed for the selected category; described either by a descriptive term—severityValue—or by a corresponding number—severityNumber—in the range 0–7; the lower the number, the higher the priority:
  - emergency or 0—System unusable
  - alert or 1—Immediate action needed
  - critical or 2—Critical condition exists
  - error or 3—Error condition
  - warning or 4—Warning condition
  - notice or 5—Normal but significant condition
  - info or 6—Informational message
  - debug or 7—Debug message
- verbosityLevel—Verbosity of the log category's messages; can be any of the following:
  - low—Terse
  - medium—Moderate detail
  - high—Verbose
- switchState—Switches from one type of tree to another
  - rpt-switch—Switch from a shortest-path tree to a shared path tree
  - spt-switch—Switch from a shared-path tree to a shortest path tree
- groupAddress—IP address of the multicast group
- sourceAddress—IP address of the multicast source
- on—Turns on the specified PIM mode on all virtual routers
- off—Turns off the specified PIM mode on all virtual routers
- sg-state—Displays information about the relationship between a source, multicast group, and RP router
- rp—Displays information about the relationships between sources, groups, and the specified RP router
- rpAddress—Address of the RP router
- count—Displays one of the following
  - (with no optional keywords) number of relationships between a source, multicast group, and RP router
  - (with the group keyword) number of sources associated with the multicast group for PIM sparse mode
  - (with the source and group keywords) number of source-group pairs for PIM sparse mode
  - (with the rp keyword) number of source-group pairs associated with the RP router for PIM sparse mode

#### Mode

Privileged Exec