The igmp-snooping prompt-leave command enables the fast leave function in a VSI so that member ports in the VSI can fast leave multicast groups.
The undo igmp-snooping prompt-leave command disables the fast leave function in a VSI.
By default, the fast leave function is disabled in a VSI.
Parameter |
Description |
Value |
---|---|---|
group-policy acl-number |
Allows member ports to fast leave the multicast group specified by an ACL. |
The value of acl-number is an integer that ranges from 2000 to 3999. |
Usage Scenario
The fast leave function allows the switch to delete an interface from a group immediately after the interface receives an IGMP Leave message for the multicast group.
Prerequisites
IGMP snooping has been enabled for VPLS using the igmp-snooping over-vpls enable command in the system view.
Precautions
The configuration takes effect only when IGMP snooping is enabled in the VSI using the igmp-snooping enable (VSI view) command.
The configuration is valid only when IGMPv2 or IGMPv3 messages can be processed in the VSI.
# Allow member ports in the VSI company1 to fast leave group 225.1.1.123.
<HUAWEI> system-view [HUAWEI] acl number 2000 [HUAWEI-acl-basic-2000] rule permit source 225.1.1.123 0 [HUAWEI-acl-basic-2000] quit [HUAWEI] igmp-snooping enable [HUAWEI] igmp-snooping over-vpls enable [HUAWEI] vsi company1 [HUAWEI-vsi-company1] igmp-snooping enable [HUAWEI-vsi-company1] igmp-snooping prompt-leave group-policy 2000
<HUAWEI> system-view [HUAWEI] acl number 2000 [HUAWEI-acl-basic-2000] rule deny source 225.1.1.123 0 [HUAWEI-acl-basic-2000] quit [HUAWEI] igmp-snooping enable [HUAWEI] igmp-snooping over-vpls enable [HUAWEI] vsi company1 [HUAWEI-vsi-company1] igmp-snooping enable [HUAWEI-vsi-company1] igmp-snooping prompt-leave group-policy 2000