Tracing IGMP Protocol Traffic
To trace IGMP protocol traffic, specify options to the traceoptions statement at the [edit routing-options] or [edit logical-systems logical-system-name routing-options] hierarchy level. Options applied at the routing options level trace all packets, and options applied at the protocol level trace only IGMP traffic.
You can specify IGMP-specific options by including the traceoptions statement:
You can include this statement at the following hierarchy levels:
- [edit protocols igmp]
- [edit logical-systems logical-system-name protocols igmp]
You can specify the following IGMP-specific options in the IGMP flag statement:
- leave—Trace leave-group messages (for IGMPv2 only).
- mtrace—Trace mtrace packets. Use the mtrace command to troubleshoot the software.
- packets—Trace all IGMP packets.
- query—Trace IGMP membership query messages, including general and group-specific queries.
- report—Trace membership report messages.
To trace the paths of multicast packets, use the mtrace command, as described in the Junos System Basics and Services Command Reference.
For information about tracing and global tracing options, see the Junos Routing Protocols Configuration Guide.
Example: Tracing IGMP Protocol Traffic
Trace only unusual or abnormal operations to the file routing-log, and trace all IGMP packets to the file igmp-log:
