Configuring the Switch

3-212

3
CLI – This example modifies the settings for multicast filtering, and then displays the
current status.

Enabling IGMP Immediate Leave

The switch can be configured to immediately delete a member port of a multicast
service if a leave packet is received at that port and the immediate-leave function is
enabled for the parent VLAN. This allows the switch to remove a port from the
multicast forwarding table without first having to send an IGMP group-specific query
to that interface.
Command Usage
If immediate leave is not used, a multicast router (or querier) will send a
group-specific query message when an IGMPv2/v3 group leave message is
received. The router/querier stops forwarding traffic for that group only if no host
replies to the query within the specified timeout period. Note that the timeout period
is determined by the IGMP Query Report Delay (see “Configuring IGMP Snooping
and Query Parameters” on 3-210).
If immediate leave is enabled, the switch assumes that only one host is connected
to the interface. Therefore, immediate leave should only be enabled on an interface
if it is connected to only one IGMP-enabled device, either a service host or a
neighbor running IGMP snooping.
Immediate leave is only effective if IGMP snooping is enabled, and IGMPv2 or
IGMPv3 snooping is used.
Immediate leave does not apply to a port if the switch has learned that a multicast
router is attached to it.
Immediate leave can improve bandwidth usage for a network which frequently
experiences many IGMP host add and leave requests.
Console(config)#ip igmp snooping 4-267
Console(config)#ip igmp snooping querier 4-271
Console(config)#ip igmp snooping query-count 10 4-272
Console(config)#ip igmp snooping query-interval 100 4-273
Console(config)#ip igmp snooping query-max-response-time 20 4-273
Console(config)#ip igmp snooping router-port-expire-time 300 4-274
Console(config)#ip igmp snooping version 2 4-268
Console(config)#exit
Console#show ip igmp snooping 4-268
Service Status: Enabled
Querier Status: Disabled
Leave proxy status: Disabled
Query Count: 2
Query Interval: 125 sec
Query Max Response Time: 10 sec
Router Port Expire Time: 300 sec
Immediate Leave Processing: Disabled on all VLAN
IGMP Snooping Version: Version 2
Console#