< Home

igmp-snooping prompt-leave

Function

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.

Format

igmp-snooping prompt-leave [ group-policy acl-number ]

undo igmp-snooping prompt-leave

Parameters

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.

Views

VSI view

Default Level

2: Configuration level

Usage Guidelines

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.

  • If you do not specify group-policy when configuring the fast leave function, this function applies to all groups. To specify a group policy in the command, create an ACL and configure rules for the ACL before running the command. The default ACL rule denies all multicast groups. If you do not want to apply the fast leave to a group, use the rule permit source any command.

Example

# 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
# Prevent member ports in the VSI company1 from fast leaving group 225.1.1.123.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >