The mld-snooping table limit command sets the maximum number of MLD snooping entries that can be learned on an interface.
The undo mld-snooping table limit command cancels the limit on the number of MLD snooping entries that can be learned on an interface.
By default, the number of multicast entries that an interface can learn is not limited.
mld-snooping table limit limit vlan vlan-id
undo mld-snooping table limit [ limit ] vlan vlan-id
Parameter |
Description |
Value |
---|---|---|
limit |
Specifies the maximum number of MLD snooping entries that can be learned on an interface. |
The value is an integer and the value range depends on the product model:
|
vlan vlan-id |
Specifies a VLAN ID. |
The value is an integer ranging from 1 to 4094. |
MultiGE interface view, Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view, Eth-Trunk interface view
Usage Scenario
The maximum number of MLD snooping entries on an interface limits the number of programs that users on the interface can order. You can set this limit to control the multicast data traffic on an interface.
Prerequisites
MLD snooping has been enabled globally using the mld-snooping enable command.
Configuration Impact
If the number of multicast entries on the interface already exceeds the configured threshold, the number of multicast entries on the interface does not change and the interface cannot learn new multicast entries.
Precautions
The configuration takes effect only after you run the mld-snooping_enable command to enable MLD snooping in the VLAN.
# Set the maximum number of MLD snooping entries that can be learned on GE0/0/1 in VLAN 5 to 100. (GE0/0/1 has been added to VLAN 5, and MLD snooping has been enabled globally and in VLAN 5.)
<HUAWEI> system view [HUAWEI] mld-snooping enable [HUAWEI] vlan 5 [HUAWEI-vlan5] mld-snooping enable [HUAWEI-vlan5] quit [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] mld-snooping table limit 100 vlan 5