20
Step Command
Remarks
5.
Enable IGMP snooping in the
VLAN.
igmp-snooping enable
Disabled by default.
Specifying the version of IGMP snooping
Different versions of IGMP snooping can process different versions of IGMP messages:
•
IGMPv2 snooping can process IGMPv1 and IGMPv2 messages, but flood 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 system does the following:
•
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 joins, see "
."
To specify the version of IGMP snooping:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
Specify the version of IGMP
snooping.
igmp-snooping version
version-number
IGMPv2 snooping by default.
Setting the maximum number of IGMP snooping forwarding
entries
You can modify the maximum number of entries in the IGMP snooping forwarding table. When the
number of existing forwarding entries reaches the upper limit, the device does not create new entries
until some entries time out or are removed. In this case, Hewlett Packard Enterprise recommends
that you manually remove some entries, because the device does not automatically remove any
existing entries.
To set the maximum number of IGMP snooping forwarding entries:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IGMP-snooping view.
igmp-snooping
N/A
3.
Set the maximum number of
IGMP snooping forwarding
entries.
entry-limit
limit
By default, the upper limit is 4000
for the HPE 5800 switches, and
2000 for the HPE 5820X switches.
NOTE:
IGMP snooping forwarding entries created for multicast VLAN are not limited by this command. You
can use the
multicast-vlan entry-limit
to limit the number of entries in the IGMP snooping
forwarding table of a multicast VLAN. For more information, see "
."