igmp-snooping prompt-leave (VSI E-Tree view)

Function

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.

Format

igmp-snooping prompt-leave [ group-policy { acl6-number | acl-name acl-name } ]

undo igmp-snooping prompt-leave

Parameters

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

Views

VSI-AUTO view, VSI-BD view, VSI-DEFAULT view, VSI-STATIC view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

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.

Example

# Allow member ports in VSI v1 to promptly leave multicast group 225.1.1.123.
<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
# Allow member ports in VLAN 2 to promptly leave multicast group 225.1.1.123.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >