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