
18
Configuring basic functions of IGMP snooping
Configuration prerequisites
Before you configure the basic functions of IGMP snooping, complete the following tasks:
•
Configure the corresponding VLANs
•
Determine the version of IGMP snooping
Enabling IGMP snooping
Follow these steps to enable IGMP snooping:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enable IGMP snooping globally and
enter IGMP snooping view
igmp-snooping
Required
Disabled by default
Return to system view
quit
—
Enter VLAN view
vlan
vlan-id
—
Enable IGMP snooping in the VLAN
igmp-snooping enable
Required
Disabled by default
NOTE:
•
Enable IGMP snooping globally before enable it in a VLAN.
•
When you enable IGMP snooping in a specified VLAN, this function takes effect on the ports in
this VLAN only.
Configuring the version of IGMP snooping
By configuring an IGMP snooping version, you actually configure the version of IGMP messages that
IGMP snooping can process.
•
IGMP snooping version 2 can process IGMPv1 and IGMPv2 messages, but not IGMPv3
messages, which will be flooded in the VLAN.
•
IGMP snooping version 3 can process IGMPv1, IGMPv2 and IGMPv3 messages.
Follow these steps to configure the version of IGMP snooping:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id
—
Configure the version of IGMP
snooping
igmp-snooping version
version-number
Optional
Version 2 by default