The mld prompt-leave command enables prompt leave on an interface. When the interface receives a Multicast Listener Discovery (MLD) Done message for a specific multicast group, the interface immediately deletes entries of this group without sending a last-listener query message.
The undo mld prompt-leave command restores the default configuration.
By default, the device sends a last-listener query message after receiving an MLD Done message for a specific multicast group.
Parameter | Description | Value |
---|---|---|
basic-acl6-number | Specifies the number of a basic IPv6 ACL. This list specifies the range of a multicast group. |
The value is an integer ranging from 2000 to 2999. |
acl6-name acl6-name | Specifies the name of a named basic IPv6 ACL. |
The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive). |
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, PW-VE sub-interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
In most cases, after receiving a Leave message of a multicast group, an interface sends a last member Query message to check whether this multicast group has other members. To minimize the response delay and save network bandwidth, configure prompt leave on the interface. If prompt leave is configured on an interface, after receiving a Leave message of a multicast group, the interface immediately deletes the corresponding multicast group records, without sending a last member Query message.
Prerequisites
Multicast routing has been enabled using the multicast ipv6 routing-enable command.
Precautions
<HUAWEI> system-view [~HUAWEI] multicast ipv6 routing-enable [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] ipv6 enable [*HUAWEI-GigabitEthernet0/1/0] mld prompt-leave
<HUAWEI> system-view [~HUAWEI] multicast ipv6 routing-enable [*HUAWEI] acl ipv6 name myacl6 [*HUAWEI-acl6-advance-myacl6] rule permit ipv6 destination ff03::101 128 [*HUAWEI-acl6-advance-myacl6] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] ipv6 enable [*HUAWEI-GigabitEthernet0/1/0] mld prompt-leave group-policy acl6-name myacl6