Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


traceoptions (PIM Snooping)


Hierarchy Level


Define tracing operations for PIM snooping.


The traceoptions feature is disabled by default.

The default PIM trace options are those inherited from the routing protocol's traceoptions statement included at the [edit routing-options] hierarchy level.


file filename—Name of the file to receive the output of the tracing operation. Enclose the name within quotation marks. All files are placed in the directory /var/log.

flag flag—Tracing operation to perform. To specify more than one tracing operation, include multiple flag statements.

PIM Snooping Tracing Flags:

  • all—All tracing operations.

  • general—Trace general PIM snooping events.

  • hello—Trace hello packets.

  • join—Trace join messages.

  • normal—Trace normal PIM snooping events. If you do not specify this flag, only unusual or abnormal operations are traced.

  • packets—Trace all PIM packets.

  • policy—Trace policy processing.

  • prune—Trace prune messages.

  • route—Trace routing information.

  • state—Trace PIM state transitions.

  • task—Trace PIM protocol task processing.

  • timer—Trace PIM protocol timer processing.

flag-modifier—(Optional) Modifier for the tracing flag. You can specify one or more of these modifiers per flag:

  • detail—Provide detailed trace information.

  • disable—Disable the tracing operation. You can use this option to disable a single operation when you have defined a broad group of tracing operations, such as all.

  • receive—Packets being received.

  • send—Packets being transmitted.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 12.3.