By default, IGMP-enabled interfaces send last-member query messages after receiving Leave messages for a specific multicast group from hosts. If the IGMP prompt leave function is enabled, the interfaces directly delete the records of the multicast group without sending last-member query messages. This feature shortens the delay in responding to Leave requests and reduces network bandwidth consumption. Currently, prompt-leave is available only in IGMPv2.
Before configuring prompt-leave, complete the following tasks:
Configure a unicast routing protocol to ensure that unicast routes are reachable.
The system view is displayed.
If a basic ACL is used, run the rule command and set the source parameter to a multicast group address.
If an advanced ACL is used, run the rule command and set the destination parameter to a multicast group address.
Configure a basic ACL.
Configure an advanced ACL.
Run acl { name advance-acl-name [ advance | [ advance ] number advance-acl-number ] | [ number ] advance-acl-number } [ match-order { config | auto } ]
An advanced ACL is created, and the advanced ACL view is displayed.
Run rule [ rule-id ] [ name rule-name ] { deny | permit } ip [ destination { destination-ip-address { destination-wildcard | 0 } | any } | source { source-ip-address { source-wildcard | 0 } | any } ] *
Rules are configured for the advanced ACL.
Return to the system view.
The interface view is displayed.
The IGMP prompt leave function is configured on the interface.
In an ADSL dial-up access, the IGMP querier corresponds to only one host because one host corresponds to one port. When a receiver frequently joins or leaves multiple multicast groups, enable the prompt leave function on the querier.
The configuration is committed.
# Run the display igmp [ vpn-instance vpn-instance-name | all-instance ] interface [ interface-type interface-number | up | down ] [ verbose ] command to check the configurations and operating status of IGMP on an interface.
# Run the display igmp interface verbose command to view detailed IGMP configurations of interfaces.