To configure tracing operations for IGMP snooping:
1. Configure the filename for the trace file.
[edit bridge-domains domain1 protocols igmp-snooping traceoptions]
user@host# set file igmp-snoop-trace
2. (Optional) Configure the maximum number of trace files.
[edit bridge-domains domain1 protocols igmp-snooping traceoptions]
user@host# set file files 5
3. (Optional) Configure the maximum size of each trace file.
[edit bridge-domains domain1 protocols igmp-snooping traceoptions]
user@host# set file size 1m
4. (Optional) Enable unrestricted file access.
[edit bridge-domains domain1 protocols igmp-snooping traceoptions]
user@host# set file world-readable
5. Configure tracing flags. Suppose you are troubleshooting issues with a policy related
to received packets on a particular logical interface with an IP address of 192.168.0.1.
The following example shows how to flag all policy events for received packets
associated with the IP address.
[edit bridge-domains domain1 protocols igmp-snooping traceoptions]
user@host# set flag policy receive | match 192.168.0.1
6. View the trace file.
user@host> file list /var/log
user@host> file show /var/log/igmp-snoop-trace
Related
Documentation
• Tracing and Logging Junos OS Operations
• Configuring IGMP Snooping on page 477
487Copyright © 2017, Juniper Networks, Inc.
Chapter 15: Configuring Internet Group Management Protocol Snooping