The mld limit command sets the maximum number of MLD group memberships that the current interface can maintain.
The undo mld limit command restores the maximum number of MLD group memberships that the current interface can maintain to the default value.
Parameter | Description | Value |
---|---|---|
number |
Specifies the maximum number of MLD group memberships that can be maintained on the current interface. |
The value is an integer that ranges from 1 to The maximum number of MLD group memberships that can be maintained on the current interface by default. NOTE:
The value range of S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-HI, S6730S-H, and S6730-H are expanded after the high specification mode is configured for multicast forwarding using the set multicast forwarding-table super-mode command. The actual value range depends on the specification of the device. |
except |
Specifies the range of multicast groups that are not limited by the specified maximum number. |
- |
acl6-number |
Specifies the basic or advanced ACL6. |
The value is an integer. The number of the basic ACL6 ranges from 2000 to 2999. The basic ACL6 filters group addresses only, without distinguishing (*, G) entries and (S, G) entries. The number of the advanced ACL6 ranges from 3000 to 3999. The advanced ACL6 filters (S, G) entries of the interface only. |
GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, VLANIF interface view, loopback interface view
Usage Scenario
When the number of MLD entries reaches the limit, the system does not create any MLD entries. To allow more new join requests, delete unnecessary entries or increase the limit. Alternatively, configure static multicast groups or source-group bindings on interfaces.
Each (*, G) entry is counted as one entry.
Each (S, G) entry is counted as one entry.
Each (*, G) entry for SSM mapping is counted as one entry.
Prerequisites
Layer 3 IPv6 multicast has been enabled using the multicast ipv6 routing-enable command in the system view.
Precautions
If except is not set in the command, the maximum number of MLD entries corresponding to all the groups or source/groups is limited.
Before setting except, configure the associated ACL6. The interface then filters the received MLD Join messages according to the ACL6. The maximum number of entries corresponding to the multicast groups that match the ACL6 is not limited.
In the advanced ACL6 view, specify the source parameter in the rule (advanced ACL6 view) command for setting the range of sources that are allowed to send multicast data to the multicast groups. Specify the destination parameter in the rule (advanced ACL6 view) command for setting the range of multicast groups whose MLD entries do not need to be limited.
The Named ACL and the advanced ACL can be configured based on the same rules, and can implement filtering of both source addresses and multicast group addresses. The time-range parameter takes effect in the rule command only for the Named ACL.
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mld limit 1024
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] acl ipv6 3100 [HUAWEI-acl6-adv-3100] rule permit ipv6 source fc00:0:0:2001::1 64 destination ff3e::1 64 [HUAWEI-acl6-adv-3100] quit [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mld limit 1024 except 3100
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] mld limit 1024