19
•
Configure VLANs or VSIs.
•
Determine the IGMP snooping version.
•
Determine the maximum number of IGMP snooping forwarding entries.
•
Determine the IGMP last member query interval.
Enabling IGMP snooping
When you enable IGMP snooping, follow these restrictions and guidelines:
•
You must enable IGMP snooping globally before you enable it for a VLAN or VSI.
•
IGMP snooping configuration made in VLAN view or VSI view takes effect only on the member
ports in that VLAN or VSI.
•
You can enable IGMP snooping for the specified VLANs in IGMP-snooping view, for a VSI in
VSI view, or for a VLAN in VLAN view. For a VLAN, the configuration in VLAN view has the
same priority as the configuration in IGMP-snooping view, and the most recent configuration
takes effect.
Enabling IGMP snooping in IGMP-snooping view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable IGMP snooping
globally
and
enter
IGMP-snooping view.
igmp-snooping
By default, IGMP snooping is
globally disabled.
3.
Enable IGMP snooping for
the specified VLANs.
enable
vlan
vlan-list
By default, IGMP snooping is
disabled for a VLAN.
Enabling IGMP snooping in VLAN or VSI view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable IGMP snooping
globally
and
enter
IGMP-snooping view.
igmp-snooping
By default, IGMP snooping is
globally disabled.
3.
Return to system view.
quit
N/A
4.
Enter VLAN or VSI view.
•
Enter
VLAN
view:
vlan vlan-id
•
Enter
VSI
view:
vsi
vsi-name
N/A
5.
Enable IGMP snooping for
the VLAN or VSI.
igmp-snooping enable
By default, IGMP snooping is
disabled in a VLAN or VSI.
Specifying an IGMP snooping version
Different IGMP snooping versions process different versions of IGMP messages.
•
IGMPv2 snooping processes IGMPv1 and IGMPv2 messages, but it floods IGMPv3 messages
in the VLAN instead of processing them.
•
IGMPv3 snooping processes IGMPv1, IGMPv2, and IGMPv3 messages.
If you change IGMPv3 snooping to IGMPv2 snooping, the device performs the following actions:
•
Clears all IGMP snooping forwarding entries that are dynamically added.