IGMP Snooping Commands 483
IGMP leave was received from a specific port, the current port is deleted from
the member list of that Multicast group. To configure the default leave-time-
out, use the no form of this command.
Syntax
ip igmp snooping leave-time-out [

time-out

| immediate-leave]
no ip igmp snooping leave-time-out

time-out

— Specifies the leave-time-out in seconds. (Range: 1-25)
immediate-leave
— Specifies that the port should be removed
immediately from the members list after receiving IGMP Leave.
Default Configuration
The default leave-time-out configuration is 10 seconds.
Command Mode
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet)
mode
User Guidelines
The leave timeout should be set greater than the maximum time that a host
is allowed to respond to an IGMP Query.
Use immediate leave only where there is only one host connected to a port.
Example
The following example configures the host leave-time-out to 15 seconds.
console(config-if-1/0/1)#ip igmp snooping leave-time-
out 15
ip igmp snooping mrouter-time-out
Use the ip igmp snooping mrouter-time-out command in Interface
Configuration mode to configure the mrouter-time-out. This command is
used for setting the aging-out time after Multicast router ports are
automatically learned. To reset to the default mrouter-time-out, use the no
form of this command.
2CSPC4.XCT-SWUM2XX1.book Page 483 Monday, October 3, 2011 11:05 AM