The igmp-snooping group-limit command sets the maximum number of Layer 2 multicast entries that an AC-side interface can learn.
The undo igmp-snooping group-limit command cancels the limit on the number of Layer 2 multicast entries that an AC-side interface can learn.
By default, the number of Layer 2 multicast entries that an AC-side interface can learn is not limited.
igmp-snooping group-limit group-limit vsi vsi-name
undo igmp-snooping group-limit [ group-limit ] vsi vsi-name
Parameter |
Description |
Value |
---|---|---|
group-limit |
Specifies the maximum number of Layer 2 multicast entries that an AC-side interface can learn. |
The value is an integer ranging from 1 to 2048 on S5720-EI, and 4096 on S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S. |
vsi vsi-name |
Limits the number of Layer 2 multicast entries that can be learned in a VSI. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
GE interface view, 100GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, Eth-Trunk interface view
Usage Scenario
By limiting the number of Layer 2 multicast entries learned on an interface, you can control the number of programs users connected to the interface can order. This configuration limits the multicast data traffic volume on the interface.
Prerequisites
IGMP snooping has been enabled globally using the igmp-snooping enable (system view) command.
Configuration Impact
If the number of Layer 2 multicast entries on the interface already exceeds the configured limit, the number of Layer 2 multicast entries on the interface does not change and the interface cannot learn new Layer 2 multicast entries.
Precautions
The configuration takes effect only after you run the igmp-snooping enable (VSI view) command to enable IGMP snooping in the VSI.
# Set the maximum number of Layer 2 multicast entries on the AC-side interface GE0/0/1 bound to the VSI company1 to 10. (IGMP snooping has been enabled globally and in the VSI.)
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] igmp-snooping group-limit 10 vsi company1