igmp-snooping
Syntax (EX Series and NFX Series)
igmp-snooping { traceoptions { file filename <files number> <size size> <world-readable | no-world-readable> <match regex>; flag flag (detail | disable | receive | send); } vlan (vlan-name | all) { data-forwarding { receiver { install; mode (proxy | transparent); (source-list | source-vlans) vlan-list; translate; } source { groups group-prefix; } } disable; immediate-leave; interface interface-name { group-limit limit; host-only-interface; immediate-leave; multicast-router-interface; static { group multicast-ip-address; } } (l2-querier | igmp-querier (QFabric Systems only)) { source-address ip-address; } proxy { source-address ip-address; } query-interval seconds; query-last-member-interval seconds; query-response-interval seconds; robust-count number; version number; } }
Syntax (ACX Series, EX9200, and MX Series)
igmp-snooping { evpn-ssm-reports-only; immediate-leave; interface interface-name { group-limit limit; host-only-interface; immediate-leave; multicast-router-interface; static { group ip-address { source ip-address; } } } proxy { source-address ip-address; } query-interval seconds; query-last-member-interval seconds; query-response-interval seconds; robust-count number; vlan vlan-id { immediate-leave; interface interface-name { group-limit limit; host-only-interface; immediate-leave; multicast-router-interface; static { group ip-address { source ip-address; } } } proxy { source-address ip-address; } query-interval seconds; query-last-member-interval seconds; query-response-interval seconds; robust-count number; } }
Syntax (QFX Series)
igmp-snooping { traceoptions { file filename <files number> <size size> <world-readable | no-world-readable> <match regex>; flag flag (detail | disable | receive | send); } vlan (vlan-name | all) { evpn-ssm-reports-only; immediate-leave; interface interface-name { group-limit limit; host-only-interface; immediate-leave; multicast-router-interface; static { group multicast-ip-address; } } (l2-querier | igmp-querier (QFabric Systems only)) { source-address ip-address; } proxy { source-address ip-address; } query-interval seconds; query-last-member-interval seconds; query-response-interval seconds; robust-count number; version number; } }
Syntax (SRX Series)
igmp-snooping { vlan (all | vlan-name) { immediate-leave; interface interface-name { group-limit range; host-only-interface; multicast-router-interface; immediate-leave; static { group multicast-ip-address { source ip-address; } } } l2-querier { source-address ip-address; } proxy { source-address ip-address; } qualified-vlan vlan-id; query-interval number; query-last-member-interval number; query-response-interval number; robust-count number; traceoptions { file filename <files number> <size size> <world-readable | no-world-readable>; flag flag <flag-modifier>; } } }
Hierarchy Level
[edit bridge-domains bridge-domain-name protocols], [edit routing-instances routing-instance-name bridge-domains bridge-domain-name protocols] [edit routing-instances routing-instance-name protocols] [edit protocols]
Description
Configure IGMP snooping, which constrains multicast traffic to only the ports that have receivers attached.
IGMP snooping enables the device to selectively send out multicast packets on only the ports that need them. Without IGMP snooping, the device floods the packets on every port. The device listens for the exchange of IGMP messages by the device and the end hosts. In this way, the device builds an IGMP snooping table that has a list of all the ports that have requested a particular multicast group.
You can also configure IGMP proxy, IGMP querier, and multicast VLAN registration (MVR) functions on VLANs at this hierarchy level.
IGMP snooping must be disabled on the device before running an ISSU operation.
Default
For most devices, IGMP snooping is disabled on the device by default, and you must configure IGMP snooping parameters in this statement hierarchy to enable it on one or more VLANs.
On legacy switches that do not support the Enhanced Layer 2 Software (ELS) configuration
style, IGMP snooping is enabled by default on all VLANs, and the vlan
statement
includes a disable
option if you want to disable IGMP snooping selectively on some
VLANs or disable it on all VLANs.
Options
The remaining statements are explained separately. See CLI Explorer.
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 8.5.