< Home

igmp-snooping host-based prompt-leave

Function

The igmp-snooping host-based prompt-leave command enables host-based fast leave in a VLAN.

The undo igmp-snooping host-based prompt-leave command disables host-based fast leave in a VLAN.

By default, host-based fast leave is disabled.

Format

igmp-snooping host-based prompt-leave

undo igmp-snooping host-based prompt-leave

Parameters

None

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The host-based fast leave function enables a switch to delete a host from the host list of a group immediately after receiving an IGMP Leave message from the host. If the deleted host is the last receiver host connected to the member port, the switch deletes the forwarding entry of the group from the port, without waiting the aging timer of the port to expire. This conserves bandwidth and system resources.

Prerequisites

IGMP snooping has been enabled globally using the igmp-snooping enable (system view) command, then IGMP snooping has been enabled in the VLAN using the igmp-snooping enable (VLAN view) command.

Precautions

If a group member port is connected to multiple receiver hosts, the forwarding entry of the multicast group will be deleted without waiting for aging of the port only when the last receiver host leaves the group.

The configuration takes effect only when the switch can process IGMPv2 or IGMPv3 packets in the VLAN.

Example

# Enable host-based fast leave in VLAN 2.

<HUAWEI> system-view
[HUAWEI] igmp-snooping enable
[HUAWEI] vlan 2
[HUAWEI-vlan2] igmp-snooping enable
[HUAWEI-vlan2] igmp-snooping host-based prompt-leave
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >