To enable fast leave processing and IGMP snooping for a specific VLAN and IGMP snooping configuring a list of multicast router ports for a specific VLAN when IGMP snooping is globally enabled, configure statically the blocked router ports for a VLAN, the IGMP snooping switch as a querier for a specific VLAN, IGMP snooping static multicast related information, and operating version of IGMP PROXY on the upstream router port for a VLAN, set parameters such as the maximum response code inserted in general queries sent to host, the router port purge time-out interval for a VLAN, the maximum time interval to decide that another querier is present in the network, the time period with which the general queries are sent by the IGMP snooping switch or the maximum number of general query messages sent out on switch startuphen configured as querier on a VLAN, use the command ip igmp snooping in VLAN Configuration Mode. The no form of the command disables IGMP snooping in the switch (or specific VLAN) and sets all parameters to their default values. When IGMP snooping is disabled globally, it is disabled in all VLAN interfaces.
Parameter | Type | Description |
---|---|---|
blocked-router |
Enter to configure statically the blocked router ports
for a VLAN. When configured as a blocked router, the queries, PIM DVMRP
and data messages are discarded. The corresponding port entry is
removed from the forwarding database. The ports to be configured
as blocked router ports must not be configured as static router
ports. Note:
The ports to be configured as blocked router ports must not be configured as static router ports. |
|
<ifXtype> |
Enter to configure tthe type of interface to be employed
on the port. The interface can be:
|
|
<iface_list> |
Enter to set a list of multicast router ports for the list of interfaces or a specific interface identifier. This value is a combination of slot number and port number separated by a slash for interface type other than internal-lan and port-channel. Only i-lan or port-channel ID is provided for interface types internal-lan and port-channel. Use comma as a separator without space while configuring list of interfaces. Example: 0/1, 0/3 or 1, 3 | |
fast-leave | Enter to enable fast leave processing and IGMP snooping
for a specific VLAN. It enables IGMP snooping only for the specific VLAN
when IGMP snooping is globally disabled. When the fast leave feature
is enabled, port information is removed from a multicast group entry
immediately after fast leave message is received. By default, fast
leave processing is disabled. Note:
Fast leave configurations done in a VLAN when IGMP snooping is disabled in a VLAN will be applied only when IGMP snooping is enabled in the VLAN. |
|
max-response-code |
Enter to set the maximum response code inserted in general queries sent to host. The unit of the response code is tenth of second. | |
<(0 - 255)> | Integer | Enter a value for the maximum response code inserted in general queries sent to host. It ranges from 0 to 255 with a default of 100. |
mrouter |
Enter to enable IGMP snooping and configures a list of
multicast router ports for a specific VLAN when IGMP snooping is globally
enabled. This will enable IGMP snooping only for the specific VLAN,
if IGMP snooping is globally disabled.Any IGMP message received
on a switch is forwarded only on the router-ports and not on the host
ports. In this manner, the IGMP snooping functionality avoids flooding
of IGMP query messages from the host to the entire network. Note:
The list of multicast router ports configured while IGMP snooping is disabled in the VLAN is applied only when the IGMP snooping is enabled in the VLAN. |
|
<ifXtype> |
Enter to configure the list of multicast router ports
for the specified type of interface. The interface can be:
|
|
<iface_list> |
Enter to set a list of multicast router ports for the list of interfaces or a specific interface identifier. This value is a combination of slot number and port number separated by a slash for interface type other than internal-lan and port-channel. Only i-lan or port-channel ID is provided for interface types internal-lan and port-channel. Use comma as a separator without space while configuring list of interfaces. Example: 0/1, 0/3 or 1, 3 | |
mrouter-port |
Enter to configure the router port purge time-out interval
for a VLAN. The time interval after which the proxy assumes there
are no v1/v2 routers present on the upstream port. While the older
querier timer is running, the proxy replies to all queries with
consolidated v1/v2 reports. When the timer expires, if the v2/v3 queriers
are not present and the port is dynamically learnt, the port is
purged. If the port is static, router port, the proxy replies to
all queries with new version of v2/v3 consolidated reports. Note:
The router ports must be statically configured for the VLAN. |
|
<ifXtype> |
Enter to configure the list of multicast router ports
for the specified type of interface. The interface can be:
|
|
<iface_list> |
Enter to set a list of multicast router ports for the list of interfaces or a specific interface identifier. This value is a combination of slot number and port number separated by a slash for interface type other than internal-lan and port-channel. Only i-lan or port-channel ID is provided for interface types internal-lan and port-channel. Use comma as a separator without space while configuring list of interfaces. Example: 0/1, 0/3 or 1, 3 | |
time-out |
Enter to configure the router port purge time-out interval. | |
<short(60-600)> |
Integer | Enter a value for the router port purge time-out interval. This value ranges from 60 to 600 seconds with a default of 125. |
version |
Enter to configure operating version of the IGMP snooping. Note:
The router ports must be statically configured for the VLAN. |
|
v1 |
Enter for IGMP snooping Version 1. | |
v2 |
Enter for IGMP snooping Version 2. | |
v3 |
Enter for IGMP snooping Version 3. This is the default. | |
multicast-vlan |
Enter to configure profile ID to VLAN mapping for multicast
VLAN classification. The switch is configured with list of entries such
as multicast group, multicast source and filter mode. These entries
are maintained in access profiles. Each profile is associated with
a particular VLAN which is categorized as multicast VLAN. When any untagged
report or leave message is received (that is, packet with no tag
in a customer bridge or packet with no S-tag in a provider or 802.1ad
bridge), and if the group and source address in the received packet
matches any rule in this profile, then the received packet is classified
to be associated to the VLAN (that is, multicast VLAN) to which
the profile is mapped. Note:
|
|
profile |
Enter to configure profile ID to VLAN mapping for multicast VLAN classification. | |
<Profile ID (0-4294967295)> |
Integer | Enter a value to the multicast profile ID for a particular VLAN. This value ranges from 0 to 4294967295. The default is 0. |
other-querier-present-interval-vlan |
Enter to set the maximum time interval for deciding that
another querier is present in the network. Within this time interval,
if the querier receives response from another querier, then the
one with a higher IP address is announced as the querier for the network.
The other querier present interval must be greater than or equal
to ((Robustness Variable * Query Interval) + (Query Response Interval/2)).
Here, Robustness value is 2. Note:
The switch should be configured as a querier for the other querier present command to be effective. |
|
<(130 - 1225) seconds> |
Integer | Enter a value for the maximum time interval for deciding that another querier is present in the network. This time interval ranges between 120 and 1215 seconds. The default is 255 seconds. |
querier |
Enter to configure the IGMP snooping switch as a querier for a specific VLAN. When configured as a querier, the switch sends IGMP query messages. The query messages will be suppressed if there are any routers in the network. The default is Non-querier. | |
address |
Enter to denote the interface VLAN or switch IP address to be used as source address. | |
<ucast_addr> |
Enter to configure the query messages to be sent to all member ports of VLAN. the IGMP query forward administrative control status as all VLAN member ports. This is done to find out if there are any interested listeners in the network. | |
query-interval |
Enter to set the time period with which the general queries
are sent by the IGMP snooping switch when configured as querier
on a VLAN. The switch sends querier messages in proxy mode and proxy-reporting
mode to all downstream interfaces for this time interval. The value range
is between 60 to 600 seconds. Note:
|
|
<(60 - 600) seconds> |
Integer | Enter a value for the time period with which the general queries are sent by the IGMP snooping switch when configured as querier on a VLAN. The value range is between 60 to 600 with default of 125. |
startup-query-count |
Enter to set the maximum number of general query messages sent out on switch startup when the switch is configured as a querier. Startup query messages are sent to announce the presence of the switch along with its identity. The startup query count is manually configured to change the existing count. | |
<2 - 5> |
Integer | Enter a value for the maximum number of general query messages sent out on switch startup when the switch is configured as a querier. This value ranges from 2 to 5. The default is 2. |
startup-query-interval |
Enter to set the time period with which the general queries
are sent by the IGMP snooping switch during startup of the querier
election process. Note:
The switch should be configured as querier for the startup query interval command to produce results. The startup query interval should be less than or equal to ¼ of the query interval |
|
<(15 - 150) seconds> |
Integer | Enter a value for the time period with which the general queries are sent by the IGMP snooping switch during startup of the querier election process. This time interval ranges between 15 and 150 seconds and should be less than or equal to query interval/ 4. The default is 31 seconds. |
static-group |
Enter to configure IGMP snooping static multicast related
information. Note: The command executes only when IGMP snooping
is enabled in the switch.
|
|
<mcast_addr> |
Enter to configure the multicast address. This value ranges from 225.0.0.0. to 239.255.255.255 | |
ports |
Enter to enable the snooping query transmission status which generates IGMP query messages. | |
<ifXtype> |
Enter to configure the snooping static multicast for the
specified type of interface. The interface can be:
|
|
<iface_list> |
Enter to configure the snooping static multicast for the list of interfaces or a specific interface identifier. This value is a combination of slot number and port number separated by a slash for interface type other than internal-lan and port-channel. Only i-lan or port-channel ID is provided for interface types internal-lan and port-channel. Use comma as a separator without space while configuring list of interfaces. Example: 0/1, 0/3 or 1, 3 | |
version |
Enter to configure operating version of the IGMP snooping. Note:
The router ports must be statically configured for the VLAN. |
|
v1 |
Enter for IGMP snooping Version 1. | |
v2 |
Enter for IGMP snooping Version 2. | |
v3 |
Enter for IGMP snooping Version 3. This is the default. |
VLAN Configuration Mode
iS5Comm(config)# vlan 55
iS5Comm (config-vlan)# ip igmp snooping blocked-router gigabitethernet 0/2
iS5Comm (config-vlan)# ip igmp snooping fast-leave
iS5Comm(config-vlan)# ip igmp snooping max-response-code 10
iS5Comm (config-vlan)# ip igmp snooping mrouter gigabitethernet 0/1
iS5Comm(config-vlan)# ip igmp snooping mrouter-port gigabitethernet 0/1 time-out 150
iS5Comm(config-vlan)# ip igmp snooping mrouter-port gigabitethernet 0/1 version v1
iS5Comm (config-vlan)# ip igmp snooping multicast-vlan profile 1
iS5Comm(config-vlan) # ip igmp snooping other-querier-present-interval 1215
iS5Comm (config-vlan)# ip igmp snooping querier
iS5Comm(config-vlan) # ip igmp snooping startup-query-interval 100
iS5Comm (config-vlan) # ip igmp snooping startup-query-count 4
iS5Comm(config-vlan) # ip igmp snooping startup-query-interval 100
iS5Comm (config-vlan)# ip igmp snooping static-group 225.3.2.2 ports gigabitethernet 0/2
iS5Comm(config-vlan)#ip igmp snooping version v2