Description

This KB describes how traceoptions for IGMP snooping could be configured on L2NG platforms (EX/QFX/ACX/SRX).

Symptoms

The following configuration doesn't work - IGMP snooping is working, but the file with traces doesn't get created:
user@device> show configuration protocols igmp-snooping | display set
set protocols igmp-snooping v100
set protocols igmp-snooping traceoptions file igmp.log
set protocols igmp-snooping traceoptions flag all

Solution

Global traceoptions configuration is not supported on L2NG platforms.
On these platforms, IGMP snooping traceoptions can be enabled either for a particular vlan, or for all vlans:
set protocols igmp-snooping vlan v100 traceoptions file igmp_snooping.log 
or
set protocols igmp-snooping vlan all traceoptions file igmp_snooping_all_vlans.log
The global traceoptions keyword has been removed in 24.2R2, 24.3R1 and newer JUNOS releases:
user@device# set protocols igmp-snooping ?
Possible completions:
+ apply-groups         Groups from which to inherit configuration data
+ apply-groups-except  Don't inherit configuration data from these groups
evpn-ssm-reports-only  Accept and process only  reports of SSM groups
immediate-leave      Enable immediate group leave on interfaces
> interface            Interface options for IGMP
> proxy                Enable proxy mode
query-interval       When to send host query messages (1..1024 seconds)
query-last-member-interval  When to send group query messages (seconds)
query-response-interval  How long to wait for a host query response (seconds)
robust-count         Expected packet loss on a subnet (2..10)
version              Set IGMP snooping version number (2..3)
> vlan                 VLAN options
[edit]

Modification History

2024-07-08 : Article Created