The igmp-snooping prompt-leave command enables member ports to promptly leave related multicast groups.
The undo igmp-snooping prompt-leave command restores the default configuration.
By default, a member port is not allowed to promptly leave a multicast group.
Parameter | Description | Value |
---|---|---|
group-policy |
Specifies a multicast group policy for prompt leave. The policy specifies the multicast groups that member ports can promptly leave. |
- |
acl6-number |
Specifies the number of a basic or advanced IPv6 ACL. |
The number of a basic ACL6 is an integer that ranges from 2000 to 2999. The number of an advanced ACL6 ranges from 3000 to 3999. |
acl-name acl-name |
Specifies the name of a named 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). |
Usage Scenario
Enable igmp-snooping prompt-leave function.
Prerequisites
IGMP snooping is enabled globally and in a VLAN/VSI/BD.
Rules have been configured for a specified basic ACL. By default, the ACL rule in which the action is permit is applicable to all multicast groups. To enable prompt leave for a multicast group, you also need to run the rule (basic ACL view) deny source any or rule (advanced ACL view) deny source any command.Configuration Impact
Running the igmp-snooping prompt-leave command on an interface connected to multiple user hosts is not recommended. If this command is run on the interface, the leave of one user host will cause other use hosts in the group to fail to receive multicast data.
If the igmp-snooping prompt-leave command is run several times, the latest configuration overrides the previous one.<HUAWEI> system-view [~HUAWEI] acl number 2008 [*HUAWEI-acl-basic-2008] rule permit source 225.1.1.123 0 [*HUAWEI-acl-basic-2008] quit [*HUAWEI] igmp-snooping enable [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi v1 [*HUAWEI-vsi-vsia] pwsignal ldp [*HUAWEI-vsi-vsia-ldp] vsi-id 200 [*HUAWEI-vsi-vsia-ldp] quit [*HUAWEI-vsi-v1] igmp-snooping prompt-leave group-policy 2008
<HUAWEI> system-view [~HUAWEI] acl number 2008 [*HUAWEI-acl-basic-2008] rule permit source 225.1.1.123 0 [*HUAWEI-acl-basic-2008] quit [*HUAWEI] igmp-snooping enable [*HUAWEI] vlan 2 [*HUAWEI-vlan2] igmp-snooping prompt-leave group-policy 2008