Configuring Fast Leave for Member Ports
Context
The fast leave function enables the router to delete the multicast forwarding entry corresponding to an interface immediately after the interface receives an Internet Group Management Protocol (IGMP) Leave message, without waiting for the aging of the forwarding entry.
When each interface in a VLAN is connected to only one host, you can enable fast leave for interfaces in the VLAN.
Procedure
- Run system-view
The system view is displayed.
- Run vlan vlan-id
The VLAN view is displayed.
- Run mld-snooping prompt-leave [ group-policy acl6-number ]
Prompt leave for interfaces is configured.
By default, no interface is allowed to fast leave a multicast group.
You can use the group-policy acl6-number parameter to restrict the multicast group that the interface fast leaves. In this situation, you need to configure an access control list (ACL) and configure ACL rules. The default ACL rule permit can be applied to all multicast groups. Therefore, after configuring a rule that permits a specified multicast group, run the rule deny source any command to deny all the other multicast groups. For details on how to configure an ACL, see "ACL Configuration" in the Configuration Guide - Security.