17
Step Command
Remarks
4.
Enter VLAN view.
vlan vlan-id
N/A
5.
Enable IGMP snooping for
the VLAN.
igmp-snooping enable
By default, IGMP snooping is
disabled for a VLAN.
Specifying an IGMP snooping version
Different IGMP snooping versions can process different versions of IGMP messages.
•
IGMPv2 snooping can process IGMPv1 and IGMPv2 messages, but it floods IGMPv3
messages in the VLAN instead of processing them.
•
IGMPv3 snooping can process IGMPv1, IGMPv2, and IGMPv3 messages.
If you change IGMPv3 snooping to IGMPv2 snooping, the switch performs the following operations:
•
Clears all IGMP snooping forwarding entries that are dynamically added.
•
Keeps static IGMPv3 snooping forwarding entries (*, G).
•
Clears static IGMPv3 snooping forwarding entries (S, G), which will be restored when IGMP
snooping is switched back to IGMPv3 snooping.
For more information about static IGMP snooping forwarding entries, see "
."
You can specify the version for the specified VLANs in IGMP-snooping 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.
To specify an IGMP snooping version for a VLAN 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
N/A
3.
Specify an IGMP snooping
version for the specified
VLANs.
version version-number
vlan
vlan-list
The default setting is 2.
To specify an IGMP snooping version for a VLAN in VLAN view:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan vlan-id
N/A
3.
Specify an IGMP snooping
version for the VLAN.
igmp-snooping version
version-number
The default setting in a VLAN is 2.
Setting the maximum number of IGMP snooping forwarding
entries
You can modify the maximum number of IGMP snooping forwarding entries, including dynamic
entries and static entries. When the number of forwarding entries on the switch reaches the upper
limit, the switch does not automatically remove any existing entries. As a best practice, manually
remove some entries to allow new entries to be created.