mld prompt-leave

Function

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.

Format

mld prompt-leave

mld prompt-leave group-policy { basic-acl6-number | acl6-name acl6-name }

undo mld prompt-leave

Parameters

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).

Views

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

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
igmp write

Usage Guidelines

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

  • This command is applicable to MLDv1 but not MLDv2. That is, the prompt leave function takes effect only after the interface receives MLDv1 Done messages.
  • If no group policy is specified, the prompt leave function is applicable to all multicast groups.
  • The mld prompt-leave command needs to be used together with the acl ipv6 command. In the IPv6 ACL view, you can set the address of the multicast group that the host is to leave by specifying the source parameter in the rule command.
  • If the mld prompt-leave command is run several times, the latest configuration overrides the previous one.

Example

# Enable prompt leave on GE 0/1/0.
<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
# Create a name IPv6 ACL named myacl6, and configure a rule for the ACL to allow hosts to receive messages from multicast group FF03::101. Configure GE 0/1/0 to immediately delete the downstream interface in the corresponding forwarding entry of this multicast group after it receives an MLD Done message for the multicast group.
<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
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >