Configuring IGMP.. Snooping And Multicast VLAN Registration 32573 B Mc 1522e 2960xr Cg Chapter 01001

User Manual: 32573

Open the PDF directly: View PDF PDF.
Page Count: 52

Configuring IGMP Snooping and Multicast VLAN
Registration
Finding Feature Information, page 1
Prerequisites for Configuring IGMP Snooping and MVR, page 1
Restrictions for Configuring IGMP Snooping and MVR, page 2
Information About IGMP Snooping and MVR, page 4
How to Configure IGMP Snooping and MVR, page 14
Monitoring IGMP Snooping and MVR, page 45
Configuration Examples for IGMP Snooping and MVR, page 47
Additional References, page 50
Feature History and Information for IGMP Snooping, page 51
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and
feature information, see Bug Search Tool and the release notes for your platform and software release. To
find information about the features documented in this module, and to see a list of the releases in which each
feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support.
To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for Configuring IGMP Snooping and MVR
Prerequisites for IGMP Snooping
Observe these guidelines when configuring the IGMP snooping querier:
Configure the VLAN in global configuration mode.
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 1
Configure an IP address on the VLAN interface. When enabled, the IGMP snooping querier uses the IP
address as the query source address.
If there is no IP address configured on the VLAN interface, the IGMP snooping querier tries to use the
configured global IP address for the IGMP querier. If there is no global IP address specified, the IGMP
querier tries to use the VLAN switch virtual interface (SVI) IP address (if one exists). If there is no SVI
IP address, the switch uses the first available IP address configured on the switch. The first IP address
available appears in the output of the show ip interface privileged EXEC command. The IGMP snooping
querier does not generate an IGMP general query if it cannot find an available IP address on the switch.
The IGMP snooping querier supports IGMP Versions 1 and 2.
When administratively enabled, the IGMP snooping querier moves to the nonquerier state if it detects
the presence of a multicast router in the network.
When it is administratively enabled, the IGMP snooping querier moves to the operationally disabled
state under these conditions:
IGMP snooping is disabled in the VLAN.
PIM is enabled on the SVI of the corresponding VLAN.
Related Topics
Configuring the IGMP Snooping Querier , on page 29
IGMP Snooping, on page 4
Restrictions for Configuring IGMP Snooping and MVR
Restrictions for IGMP Snooping
The following are the restrictions for IGMP snooping:
The switch supports homogeneous stacking, but does not support mixed stacking.
The switch supports IGMPv3 snooping based only on the destination multicast MAC address. It does
not support snooping based on the source MAC address or on proxy reports.
IGMPv3 join and leave messages are not supported on switches running IGMP filtering or Multicast
VLAN registration (MVR).
IGMP report suppression is supported only when the multicast query has IGMPv1 and IGMPv2 reports.
This feature is not supported when the query includes IGMPv3 reports.
The IGMP configurable leave time is only supported on hosts running IGMP Version 2. IGMP version
2 is the default version for the switch.
The actual leave latency in the network is usually the configured leave time. However, the leave time
might vary around the configured time, depending on real-time CPU load conditions, network delays
and the amount of traffic sent through the interface.
The IGMP throttling action restriction can be applied only to Layer 2 ports. You can use ip igmp
max-groups action replace interface configuration command on a logical EtherChannel interface but
cannot use it on ports that belong to an EtherChannel port group.
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
2OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Restrictions for Configuring IGMP Snooping and MVR
When the maximum group limitation is set to the default (no maximum), entering the ip igmp max-groups
action {deny |replace} command has no effect.
If you configure the throttling action and set the maximum group limitation after an interface has added
multicast entries to the forwarding table, the forwarding-table entries are either aged out or removed,
depending on the throttling action.
Related Topics
IGMP Versions
Configuring IGMP Profiles , on page 37
Applying IGMP Profiles , on page 40
Setting the Maximum Number of IGMP Groups , on page 41
Configuring the IGMP Throttling Action , on page 43
IGMP Filtering and Throttling, on page 12
Restrictions for MVR
The following are restrictions for MVR:
Only Layer 2 ports participate in MVR. You must configure ports as MVR receiver ports.
Only one MVR multicast VLAN per switch or switch stack is supported.
Receiver ports can only be access ports; they cannot be trunk ports. Receiver ports on a switch can be
in different VLANs, but should not belong to the multicast VLAN.
The maximum number of multicast entries (MVR group addresses) that can be configured on a switch
(that is, the maximum number of television channels that can be received) is 256.
MVR multicast data received in the source VLAN and leaving from receiver ports has its time-to-live
(TTL) decremented by 1 in the switch.
Because MVR on the switch uses IP multicast addresses instead of MAC multicast addresses, alias IP
multicast addresses are allowed on the switch. However, if the switch is interoperating with Catalyst
3550 or Catalyst 3500 XL switches, you should not configure IP addresses that alias between themselves
or with the reserved IP multicast addresses (in the range 224.0.0.xxx).
Do not configure MVR on private VLAN ports.
MVR is not supported when multicast routing is enabled on a switch. If you enable multicast routing
and a multicast routing protocol while MVR is enabled, MVR is disabled, and you receive a warning
message. If you try to enable MVR while multicast routing and a multicast routing protocol are enabled,
the operation to enable MVR is cancelled, and you receive an error message
MVR data received on an MVR receiver port is not forwarded to MVR source ports.
MVR does not support IGMPv3 messages.
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 3
Configuring IGMP Snooping and Multicast VLAN Registration
Restrictions for MVR
Information About IGMP Snooping and MVR
IGMP Snooping
Layer 2 switches can use IGMP snooping to constrain the flooding of multicast traffic by dynamically
configuring Layer 2 interfaces so that multicast traffic is forwarded to only those interfaces associated with
IP multicast devices. As the name implies, IGMP snooping requires the LAN switch to snoop on the IGMP
transmissions between the host and the router and to keep track of multicast groups and member ports. When
the switch receives an IGMP report from a host for a particular multicast group, the switch adds the host port
number to the forwarding table entry; when it receives an IGMP Leave Group message from a host, it removes
the host port from the table entry. It also periodically deletes entries if it does not receive IGMP membership
reports from the multicast clients.
For more information on IP multicast and IGMP, see RFC 1112 and RFC 2236.Note
The multicast router ) sends out periodic general queries to all VLANs. All hosts interested in this multicast
traffic send join requests and are added to the forwarding table entry. The switch creates one entry per VLAN
in the IGMP snooping IP multicast forwarding table for each group from which it receives an IGMP join
request.
The switch supports IP multicast group-based bridging, instead of MAC-addressed based groups. With
multicast MAC address-based groups, if an IP address being configured translates (aliases) to a previously
configured MAC address or to any reserved multicast MAC addresses (in the range 224.0.0.xxx), the command
fails. Because the switch uses IP multicast groups, there are no address aliasing issues.
The IP multicast groups learned through IGMP snooping are dynamic. However, you can statically configure
multicast groups by using the ip igmp snooping vlan vlan-id static ip_address interface interface-id global
configuration command. If you specify group membership for a multicast group address statically, your setting
supersedes any automatic manipulation by IGMP snooping. Multicast group membership lists can consist of
both user-defined and IGMP snooping-learned settings.
You can configure an IGMP snooping querier to support IGMP snooping in subnets without multicast interfaces
because the multicast traffic does not need to be routed.
If a port spanning-tree, a port group, or a VLAN ID change occurs, the IGMP snooping-learned multicast
groups from this port on the VLAN are deleted.
These sections describe IGMP snooping characteristics:
Related Topics
Configuring the IGMP Snooping Querier , on page 29
Prerequisites for IGMP Snooping, on page 1
Example: Setting the IGMP Snooping Querier Source Address, on page 48
Example: Setting the IGMP Snooping Querier Maximum Response Time, on page 48
Example: Setting the IGMP Snooping Querier Timeout, on page 49
Example: Setting the IGMP Snooping Querier Feature, on page 49
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
4OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Information About IGMP Snooping and MVR
IGMP Versions
The switch supports IGMP version 1, IGMP version 2, and IGMP version 3. These versions are interoperable
on the switch. For example, if IGMP snooping is enabled and the querier's version is IGMPv2, and the switch
receives an IGMPv3 report from a host, then the switch can forward the IGMPv3 report to the multicast router.
An IGMPv3 switch can receive messages from and forward messages to a device running the Source Specific
Multicast (SSM) feature.
Related Topics
Changing the IGMP Version
Restrictions for IGMP Snooping, on page 2
Joining a Multicast Group
When a host connected to the switch wants to join an IP multicast group and it is an IGMP version 2 client,
it sends an unsolicited IGMP join message, specifying the IP multicast group to join. Alternatively, when the
switch receives a general query from the router, it forwards the query to all ports in the VLAN. IGMP version
1 or version 2 hosts wanting to join the multicast group respond by sending a join message to the switch. The
switch CPU creates a multicast forwarding-table entry for the group if it is not already present. The CPU also
adds the interface where the join message was received to the forwarding-table entry. The host associated
with that interface receives multicast traffic for that multicast group.
Figure 1: Initial IGMP Join Message
Router A sends a general query to the switch, which forwards the query to ports 2 through 5, all of which are
members of the same VLAN. Host 1 wants to join multicast group 224.1.2.3 and multicasts an IGMP
membership report (IGMP join message) to the group. The switch CPU uses the information in the IGMP
report to set up a forwarding-table entry that includes the port numbers connected to Host 1 and to the router.
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 5
Configuring IGMP Snooping and Multicast VLAN Registration
IGMP Snooping
Table 1: IGMP Snooping Forwarding Table
PortsType of PacketDestination Address
1, 2IGMP224.1.2.3
The switch hardware can distinguish IGMP information packets from other packets for the multicast group.
The information in the table tells the switching engine to send frames addressed to the 224.1.2.3 multicast IP
address that are not IGMP packets to the router and to the host that has joined the group.
If another host (for example, Host 4) sends an unsolicited IGMP join message for the same group, the CPU
receives that message and adds the port number of Host 4 to the forwarding table. Because the forwarding
table directs IGMP messages only to the CPU, the message is not flooded to other ports on the switch. Any
known multicast traffic is forwarded to the group and not to the CPU.
Figure 2: Second Host Joining a Multicast Group
Table 2: Updated IGMP Snooping Forwarding Table
PortsType of PacketDestination Address
1, 2, 5IGMP224.1.2.3
Related Topics
Configuring a Host Statically to Join a Group , on page 19
Example: Configuring a Host Statically to Join a Group, on page 48
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
6OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
IGMP Snooping
Leaving a Multicast Group
The router sends periodic multicast general queries, and the switch forwards these queries through all ports
in the VLAN. Interested hosts respond to the queries. If at least one host in the VLAN wants to receive
multicast traffic, the router continues forwarding the multicast traffic to the VLAN. The switch forwards
multicast group traffic only to those hosts listed in the forwarding table for that IP multicast group maintained
by IGMP snooping.
When hosts want to leave a multicast group, they can silently leave, or they can send a leave message. When
the switch receives a leave message from a host, it sends a group-specific query to learn if any other devices
connected to that interface are interested in traffic for the specific multicast group. The switch then updates
the forwarding table for that MAC group so that only those hosts interested in receiving multicast traffic for
the group are listed in the forwarding table. If the router receives no reports from a VLAN, it removes the
group for the VLAN from its IGMP cache.
Immediate Leave
The switch uses IGMP snooping Immediate Leave to remove from the forwarding table an interface that sends
a leave message without the switch sending group-specific queries to the interface. The VLAN interface is
pruned from the multicast tree for the multicast group specified in the original leave message. Immediate
Leave ensures optimal bandwidth management for all hosts on a switched network, even when multiple
multicast groups are simultaneously in use.
Immediate Leave is only supported on IGMP version 2 hosts. IGMP version 2 is the default version for the
switch.
You should use the Immediate Leave feature only on VLANs where a single host is connected to each
port. If Immediate Leave is enabled on VLANs where more than one host is connected to a port, some
hosts may be dropped inadvertently.
Note
Related Topics
Enabling IGMP Immediate Leave , on page 21
Example: Enabling IGMP Immediate Leave, on page 48
IGMP Configurable-Leave Timer
You can configure the time that the switch waits after sending a group-specific query to determine if hosts
are still interested in a specific multicast group. The IGMP leave response time can be configured from 100
to 32767 milliseconds.
Related Topics
Configuring the IGMP Leave Timer , on page 23
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 7
Configuring IGMP Snooping and Multicast VLAN Registration
IGMP Snooping
IGMP Report Suppression
IGMP report suppression is supported only when the multicast query has IGMPv1 and IGMPv2 reports.
This feature is not supported when the query includes IGMPv3 reports.
Note
The switch uses IGMP report suppression to forward only one IGMP report per multicast router query to
multicast devices. When IGMP report suppression is enabled (the default), the switch sends the first IGMP
report from all hosts for a group to all the multicast routers. The switch does not send the remaining IGMP
reports for the group to the multicast routers. This feature prevents duplicate reports from being sent to the
multicast devices.
If the multicast router query includes requests only for IGMPv1 and IGMPv2 reports, the switch forwards
only the first IGMPv1 or IGMPv2 report from all hosts for a group to all the multicast routers.
If the multicast router query also includes requests for IGMPv3 reports, the switch forwards all IGMPv1,
IGMPv2, and IGMPv3 reports for a group to the multicast devices.
If you disable IGMP report suppression, all IGMP reports are forwarded to the multicast routers.
Related Topics
Disabling IGMP Report Suppression , on page 31
IGMP Snooping and Switch Stacks
IGMP snooping functions across the switch stack; that is, IGMP control information from one switch is
distributed to all switches in the stack. Regardless of the stack member through which IGMP multicast data
enters the stack, the data reaches the hosts that have registered for that group.
If a switch in the stack fails or is removed from the stack, only the members of the multicast group that are
on that switch will not receive the multicast data. All other members of a multicast group on other switches
in the stack continue to receive multicast data streams. However, multicast groups that are common for both
Layer 2 and Layer 3 (IP multicast routing) might take longer to converge if the active switch is removed.
Default IGMP Snooping Configuration
This table displays the default IGMP snooping configuration for the switch.
Table 3: Default IGMP Snooping Configuration
Default SettingFeature
Enabled globally and per VLANIGMP snooping
None configuredMulticast routers
DisabledIGMP snooping Immediate Leave
None configuredStatic groups
2TCN1flood query count
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
8OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
IGMP Snooping
Default SettingFeature
DisabledTCN query solicitation
DisabledIGMP snooping querier
EnabledIGMP report suppression
1(1) TCN = Topology Change Notification
Related Topics
Enabling or Disabling IGMP Snooping on a Switch , on page 14
Enabling or Disabling IGMP Snooping on a VLAN Interface, on page 15
Multicast VLAN Registration
Multicast VLAN Registration (MVR) is designed for applications using wide-scale deployment of multicast
traffic across an Ethernet ring-based service-provider network (for example, the broadcast of multiple television
channels over a service-provider network). MVR allows a subscriber on a port to subscribe and unsubscribe
to a multicast stream on the network-wide multicast VLAN. It allows the single multicast VLAN to be shared
in the network while subscribers remain in separate VLANs. MVR provides the ability to continuously send
multicast streams in the multicast VLAN, but to isolate the streams from the subscriber VLANs for bandwidth
and security reasons.
These sections describe MVR:
MVR and IGMP
MVR can coexist with IGMP snooping on a switch.Note
MVR assumes that subscriber ports subscribe and unsubscribe (join and leave) these multicast streams by
sending out IGMP join and leave messages. These messages can originate from an IGMP version-2-compatible
host with an Ethernet connection. Although MVR operates on the underlying method of IGMP snooping, the
two features operate independently of each other. One can be enabled or disabled without affecting the behavior
of the other feature. However, if IGMP snooping and MVR are both enabled, MVR reacts only to join and
leave messages from multicast groups configured under MVR. Join and leave messages from all other multicast
groups are managed by IGMP snooping.
The switch CPU identifies the MVR IP multicast streams and their associated IP multicast group in the switch
forwarding table, intercepts the IGMP messages, and modifies the forwarding table to include or remove the
subscriber as a receiver of the multicast stream, even though the receivers might be in a different VLAN from
the source. This forwarding behavior selectively allows traffic to cross between different VLANs.
Modes of Operation
You can set the switch for compatible or dynamic mode of MVR operation:
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 9
Configuring IGMP Snooping and Multicast VLAN Registration
Multicast VLAN Registration
In compatible mode, multicast data received by MVR hosts is forwarded to all MVR data ports, regardless
of MVR host membership on those ports. The multicast data is forwarded only to those receiver ports
that MVR hosts have joined, either by IGMP reports or by MVR static configuration. IGMP reports
received from MVR hosts are never forwarded from MVR data ports that were configured in the switch.
In dynamic mode, multicast data received by MVR hosts on the switch is forwarded from only those
MVR data and client ports that the MVR hosts have joined, either by IGMP reports or by MVR static
configuration. Any IGMP reports received from MVR hosts are also forwarded from all the MVR data
ports in the host. This eliminates using unnecessary bandwidth on MVR data port links, which occurs
when the switch runs in compatible mode.
MVR and Switch Stacks
Only one MVR multicast VLAN per switch or switch stack is supported.
Receiver ports and source ports can be on different switches in a switch stack. Multicast data sent on the
multicast VLAN is forwarded to all MVR receiver ports across the stack. When a new switch is added to a
stack, by default it has no receiver ports.
If a switch fails or is removed from the stack, only those receiver ports belonging to that switch will not receive
the multicast data. All other receiver ports on other switches continue to receive the multicast data.
MVR in a Multicast Television Application
In a multicast television application, a PC or a television with a set-top box can receive the multicast stream.
Multiple set-top boxes or PCs can be connected to one subscriber port, which is a switch port configured as
an MVR receiver port.
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
10 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Multicast VLAN Registration
The following is an example configuration.
Figure 3: Multicast VLAN Registration Example
In this example configuration, DHCP assigns an IP address to the set-top box or the PC. When a subscriber
selects a channel, the set-top box or PC sends an IGMP report to Switch A to join the appropriate multicast.
If the IGMP report matches one of the configured IP multicast group addresses, the switch CPU modifies the
hardware address table to include this receiver port and VLAN as a forwarding destination of the specified
multicast stream when it is received from the multicast VLAN. Uplink ports that send and receive multicast
data to and from the multicast VLAN are called MVR source ports.
When a subscriber changes channels or turns off the television, the set-top box sends an IGMP leave message
for the multicast stream. The switch CPU sends a MAC-based general query through the receiver port VLAN.
If there is another set-top box in the VLAN still subscribing to this group, that set-top box must respond within
the maximum response time specified in the query. If the CPU does not receive a response, it eliminates the
receiver port as a forwarding destination for this group.
Without Immediate Leave, when the switch receives an IGMP leave message from a subscriber on a receiver
port, it sends out an IGMP query on that port and waits for IGMP group membership reports. If no reports
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 11
Configuring IGMP Snooping and Multicast VLAN Registration
Multicast VLAN Registration
are received in a configured time period, the receiver port is removed from multicast group membership. With
Immediate Leave, an IGMP query is not sent from the receiver port on which the IGMP leave was received.
As soon as the leave message is received, the receiver port is removed from multicast group membership,
which speeds up leave latency. Enable the Immediate-Leave feature only on receiver ports to which a single
receiver device is connected.
MVR eliminates the need to duplicate television-channel multicast traffic for subscribers in each VLAN.
Multicast traffic for all channels is only sent around the VLAN trunk onceonly on the multicast VLAN.
The IGMP leave and join messages are in the VLAN to which the subscriber port is assigned. These messages
dynamically register for streams of multicast traffic in the multicast VLAN on the Layer 3 device. The access
layer switch, Switch A, modifies the forwarding behavior to allow the traffic to be forwarded from the multicast
VLAN to the subscriber port in a different VLAN, selectively allowing traffic to cross between two VLANs.
IGMP reports are sent to the same IP multicast group address as the multicast data. The Switch A CPU must
capture all IGMP join and leave messages from receiver ports and forward them to the multicast VLAN of
the source (uplink) port, based on the MVR mode.
Default MVR Configuration
Table 4: Default MVR Configuration
Default SettingFeature
Disabled globally and per interfaceMVR
None configuredMulticast addresses
0.5 secondQuery response time
VLAN 1Multicast VLAN
CompatibleMode
Neither a receiver nor a source portInterface (per port) default
Disabled on all portsImmediate Leave
IGMP Filtering and Throttling
In some environments, for example, metropolitan or multiple-dwelling unit (MDU) installations, you might
want to control the set of multicast groups to which a user on a switch port can belong. You can control the
distribution of multicast services, such as IP/TV, based on some type of subscription or service plan. You
might also want to limit the number of multicast groups to which a user on a switch port can belong.
With the IGMP filtering feature, you can filter multicast joins on a per-port basis by configuring IP multicast
profiles and associating them with individual switch ports. An IGMP profile can contain one or more multicast
groups and specifies whether access to the group is permitted or denied. If an IGMP profile denying access
to a multicast group is applied to a switch port, the IGMP join report requesting the stream of IP multicast
traffic is dropped, and the port is not allowed to receive IP multicast traffic from that group. If the filtering
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
12 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
IGMP Filtering and Throttling
action permits access to the multicast group, the IGMP report from the port is forwarded for normal processing.
You can also set the maximum number of IGMP groups that a Layer 2 interface can join.
IGMP filtering controls only group-specific query and membership reports, including join and leave reports.
It does not control general IGMP queries. IGMP filtering has no relationship with the function that directs
the forwarding of IP multicast traffic. The filtering feature operates in the same manner whether CGMP or
MVR is used to forward the multicast traffic.
IGMP filtering applies only to the dynamic learning of IP multicast group addresses, not static configuration.
With the IGMP throttling feature, you can set the maximum number of IGMP groups that a Layer 2 interface
can join. If the maximum number of IGMP groups is set, the IGMP snooping forwarding table contains the
maximum number of entries, and the interface receives an IGMP join report, you can configure an interface
to drop the IGMP report or to replace the randomly selected multicast entry with the received IGMP report.
IGMPv3 join and leave messages are not supported on switches running IGMP filtering.Note
Related Topics
Configuring IGMP Profiles , on page 37
Applying IGMP Profiles , on page 40
Setting the Maximum Number of IGMP Groups , on page 41
Configuring the IGMP Throttling Action , on page 43
Restrictions for IGMP Snooping, on page 2
Default IGMP Filtering and Throttling Configuration
This table displays the default IGMP filtering and throttling configuration for the switch.
Table 5: Default IGMP Filtering Configuration
Default SettingFeature
None applied.IGMP filters
No maximum set.
When the maximum number of groups is in the
forwarding table, the default IGMP throttling action
is to deny the IGMP report.
Note
IGMP maximum number of IGMP groups
None defined.IGMP profiles
Deny the range addresses.IGMP profile action
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 13
Configuring IGMP Snooping and Multicast VLAN Registration
IGMP Filtering and Throttling
How to Configure IGMP Snooping and MVR
Enabling or Disabling IGMP Snooping on a Switch
When IGMP snooping is globally enabled or disabled, it is also enabled or disabled in all existing VLAN
interfaces. IGMP snooping is enabled on all VLANs by default, but can be enabled and disabled on a per-VLAN
basis.
Global IGMP snooping overrides the VLAN IGMP snooping. If global snooping is disabled, you cannot
enable VLAN snooping. If global snooping is enabled, you can enable or disable VLAN snooping.
Follow these steps to globally enable IGMP snooping on the switch:
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp snooping
4. end
5. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Globally enables IGMP snooping in all existing VLAN
interfaces.
ip igmp snooping
Example:
Switch(config)# ip igmp snooping
Step 3
To globally disable IGMP snooping on all VLAN
interfaces, use the no ip igmp snooping global
configuration command.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
14 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
How to Configure IGMP Snooping and MVR
PurposeCommand or Action
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 5
Related Topics
Default IGMP Snooping Configuration, on page 8
Enabling or Disabling IGMP Snooping on a VLAN Interface
Follow these steps to enable IGMP snooping on a VLAN interface:
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp snooping vlan vlan-id
4. end
5. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 15
Configuring IGMP Snooping and Multicast VLAN Registration
Enabling or Disabling IGMP Snooping on a VLAN Interface
PurposeCommand or Action
Enables IGMP snooping on the VLAN interface. The VLAN ID
range is 1 to 1001 and 1006 to 4094.
ip igmp snooping vlan vlan-id
Example:
Switch(config)# ip igmp snooping vlan 7
Step 3
IGMP snooping must be globally enabled before you can enable
VLAN snooping.
To disable IGMP snooping on a VLAN interface, use the
no ip igmp snooping vlan vlan-id global configuration
command for the specified VLAN number.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 5
startup-config
Related Topics
Default IGMP Snooping Configuration, on page 8
Setting the Snooping Method
Multicast-capable router ports are added to the forwarding table for every Layer 2 multicast entry. The switch
learns of the ports through one of these methods:
Snooping on IGMP queries, Protocol-Independent Multicast (PIM) packets, and Distance Vector Multicast
Routing Protocol (DVMRP) packets.
Listening to Cisco Group Management Protocol (CGMP) packets from other routers.
Statically connecting to a multicast router port using the ip igmp snooping mrouter global configuration
command.
You can configure the switch either to snoop on IGMP queries and PIM/DVMRP packets or to listen to CGMP
self-join or proxy-join packets. By default, the switch snoops on PIM/DVMRP packets on all VLANs. To
learn of multicast router ports through only CGMP packets, use the ip igmp snooping vlan vlan-id mrouter
learn cgmp global configuration command. When this command is entered, the router listens to only CGMP
self-join and CGMP proxy-join packets and to no other CGMP packets. To learn of multicast router ports
through only PIM-DVMRP packets, use the ip igmp snooping vlan vlan-id mrouter learn pim-dvmrp
global configuration command.
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
16 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Setting the Snooping Method
If you want to use CGMP as the learning method and no multicast routers in the VLAN are CGMP
proxy-enabled, you must enter the ip cgmp router-only command to dynamically access the router.
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp snooping vlan vlan-id mrouter learn {cgmp |pim-dvmrp }
4. end
5. show ip igmp snooping
6. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the multicast router learning method:
ip igmp snooping vlan vlan-id mrouter learn
{cgmp |pim-dvmrp }
Step 3
cgmpListens for CGMP packets. This method is useful
for reducing control traffic.
Example:
Switch(config)# ip igmp snooping
vlan 1 mrouter learn cgmp
pim-dvmrpSnoops on IGMP queries and PIM-DVMRP
packets. This is the default.
To return to the default learning method, use the no ip
igmp snooping vlan vlan-id mrouter learn cgmp
global configuration command.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 17
Configuring IGMP Snooping and Multicast VLAN Registration
Setting the Snooping Method
PurposeCommand or Action
Verifies the configuration.show ip igmp snooping
Example:
Switch# show ip igmp snooping
Step 5
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
Configuring a Multicast Router Port
Perform these steps to add a multicast router port (enable a static connection to a multicast router) on the
switch.
Static connections to multicast routers are supported only on switch ports.Note
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp snooping vlan vlan-id mrouter interface interface-id
4. end
5. show ip igmp snooping mrouter [vlan vlan-id]
6. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
18 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring a Multicast Router Port
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the multicast router VLAN ID and the interface to the
multicast router.
ip igmp snooping vlan vlan-id mrouter interface
interface-id
Step 3
Example:
Switch(config)# ip igmp snooping vlan 5
The VLAN ID range is 1 to 1001 and 1006 to 4094.
The interface can be a physical interface or a port channel.
The port-channel range is 1 to 128.
mrouter interface gigabitethernet1/0/1
To remove a multicast router port from the VLAN, use
the no ip igmp snooping vlan vlan-id mrouter
interface interface-id global configuration command.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifies that IGMP snooping is enabled on the VLAN interface.
show ip igmp snooping mrouter [vlan vlan-id]
Example:
Switch# show ip igmp snooping mrouter vlan
Step 5
5
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
Related Topics
Example: Enabling a Static Connection to a Multicast Router, on page 47
Configuring a Host Statically to Join a Group
Hosts or Layer 2 ports normally join multicast groups dynamically, but you can also statically configure a
host on an interface.
Follow these steps to add a Layer 2 port as a member of a multicast group:
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 19
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring a Host Statically to Join a Group
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp snooping vlan vlan-id static ip_address interface interface-id
4. end
5. show ip igmp snooping groups
6. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Statically configures a Layer 2 port as a member of a multicast
group:
ip igmp snooping vlan vlan-id static ip_address
interface interface-id
Step 3
Example:
Switch(config)# ip igmp snooping vlan 105
vlan-id is the multicast group VLAN ID. The range is 1 to
1001 and 1006 to 4094.
ip-address is the group IP address.
static 230.0.0.1 interface
gigabitethernet1/0/1 interface-id is the member port. It can be a physical interface
or a port channel (1 to 128).
To remove the Layer 2 port from the multicast group,
use the no ip igmp snooping vlan vlan-id static
mac-address interface interface-id global configuration
command.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
20 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring a Host Statically to Join a Group
PurposeCommand or Action
Verifies the member port and the IP address.show ip igmp snooping groups
Example:
Switch# show ip igmp snooping groups
Step 5
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
Related Topics
Joining a Multicast Group, on page 5
Example: Configuring a Host Statically to Join a Group, on page 48
Enabling IGMP Immediate Leave
When you enable IGMP Immediate Leave, the switch immediately removes a port when it detects an IGMP
Version 2 leave message on that port. You should use the Immediate-Leave feature only when there is a single
receiver present on every port in the VLAN.
Immediate Leave is supported only on IGMP Version 2 hosts. IGMP Version 2 is the default version for
the switch.
Note
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp snooping vlan vlan-id immediate-leave
4. end
5. show ip igmp snooping vlan vlan-id
6. end
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 21
Configuring IGMP Snooping and Multicast VLAN Registration
Enabling IGMP Immediate Leave
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Enables IGMP Immediate Leave on the VLAN interface.
ip igmp snooping vlan vlan-id immediate-leave
Step 3
Example:
Switch(config)# ip igmp snooping vlan 21
To disable IGMP Immediate Leave on a VLAN, use
the no ip igmp snooping vlan vlan-id
immediate-leave global configuration command.
Note
immediate-leave
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifies that Immediate Leave is enabled on the VLAN
interface.
show ip igmp snooping vlan vlan-id
Example:
Switch# show ip igmp snooping vlan 21
Step 5
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 6
Related Topics
Immediate Leave , on page 7
Example: Enabling IGMP Immediate Leave, on page 48
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
22 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Enabling IGMP Immediate Leave
Configuring the IGMP Leave Timer
You can configure the leave time globally or on a per-VLAN basis. Follow these steps to enable the IGMP
configurable-leave timer:
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp snooping last-member-query-interval time
4. ip igmp snooping vlan vlan-id last-member-query-interval time
5. end
6. show ip igmp snooping
7. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Configures the IGMP leave timer globally. The range is 100 to
32767 milliseconds.
ip igmp snooping last-member-query-interval
time
Step 3
Example:
Switch(config)# ip igmp snooping
The default leave time is 1000 milliseconds.
To globally reset the IGMP leave timer to the default
setting, use the no ip igmp snooping
last-member-query-interval global configuration
command.
Note
last-member-query-interval 1000
(Optional) Configures the IGMP leave time on the VLAN interface.
The range is 100 to 32767 milliseconds.
ip igmp snooping vlan vlan-id
last-member-query-interval time
Step 4
Example:
Switch(config)# ip igmp snooping vlan 210
Configuring the leave time on a VLAN overrides the
globally configured timer.
Note
To remove the configured IGMP leave-time setting from
the specified VLAN, use the no ip igmp snooping vlan
vlan-id last-member-query-interval global configuration
command.
Note
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 23
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring the IGMP Leave Timer
PurposeCommand or Action
last-member-query-interval 1000
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
(Optional) Displays the configured IGMP leave time.show ip igmp snooping
Example:
Switch# show ip igmp snooping
Step 6
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 7
Related Topics
IGMP Configurable-Leave Timer, on page 7
Configuring TCN-Related Commands
Controlling the Multicast Flooding Time After a TCN Event
You can configure the number of general queries by which multicast data traffic is flooded after a topology
change notification (TCN) event. If you set the TCN flood query count to 1 the flooding stops after receiving
1 general query. If you set the count to 7, the flooding continues until 7 general queries are received. Groups
are relearned based on the general queries received during the TCN event.
Some examples of TCN events are when the client location is changed and the receiver is on same port that
was blocked but is now forwarding, and when a port goes down without sending a leave message.
Follow these steps to configure the TCN flood query count:
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
24 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring TCN-Related Commands
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp snooping tcn flood query count count
4. end
5. show ip igmp snooping
6. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the number of IGMP general queries for which the
multicast traffic is flooded.
ip igmp snooping tcn flood query count count
Example:
Switch(config)# ip igmp snooping tcn flood
Step 3
The range is 1 to 10. The default, the flooding query count is
2.
query count 3 To return to the default flooding query count, use the
no ip igmp snooping tcn flood query count global
configuration command.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifies the TCN settings.show ip igmp snooping
Example:
Switch# show ip igmp snooping
Step 5
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 25
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring TCN-Related Commands
PurposeCommand or Action
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
Recovering from Flood Mode
When a topology change occurs, the spanning-tree root sends a special IGMP leave message (also known as
global leave) with the group multicast address 0.0.0.0. However, you can enable the switch to send the global
leave message whether it is the spanning-tree root or not. When the router receives this special leave, it
immediately sends general queries, which expedite the process of recovering from the flood mode during the
TCN event. Leaves are always sent if the switch is the spanning-tree root regardless of this configuration.
Follow these steps to enable sending of leave messages:
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp snooping tcn query solicit
4. end
5. show ip igmp snooping
6. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
26 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring TCN-Related Commands
PurposeCommand or Action
Sends an IGMP leave message (global leave) to speed the
process of recovering from the flood mode caused during a
TCN event. By default, query solicitation is disabled.
ip igmp snooping tcn query solicit
Example:
Switch(config)# ip igmp snooping tcn query
Step 3
To return to the default query solicitation, use the no
ip igmp snooping tcn query solicit global
configuration command.
Note
solicit
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifies the TCN settings.show ip igmp snooping
Example:
Switch# show ip igmp snooping
Step 5
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
Disabling Multicast Flooding During a TCN Event
When the switch receives a TCN, multicast traffic is flooded to all the ports until 2 general queries are received.
If the switch has many ports with attached hosts that are subscribed to different multicast groups, this flooding
might exceed the capacity of the link and cause packet loss. Follow these steps to control TCN flooding:
SUMMARY STEPS
1. enable
2. configure terminal
3. interface interface-id
4. no ip igmp snooping tcn flood
5. end
6. show ip igmp snooping
7. copy running-config startup-config
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 27
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring TCN-Related Commands
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the interface to be configured, and enters interface
configuration mode.
interface interface-id
Example:
Switch(config)# interface gigabitethernet
Step 3
1/0/1
Disables the flooding of multicast traffic during a
spanning-tree TCN event.
no ip igmp snooping tcn flood
Example:
Switch(config-if)# no ip igmp snooping tcn
Step 4
By default, multicast flooding is enabled on an interface.
To re-enable multicast flooding on an interface, use
the ip igmp snooping tcn flood interface
configuration command.
Note
flood
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
Verifies the TCN settings.show ip igmp snooping
Example:
Switch# show ip igmp snooping
Step 6
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 7
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
28 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring TCN-Related Commands
Configuring the IGMP Snooping Querier
Follow these steps to enable the IGMP snooping querier feature in a VLAN:
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp snooping querier
4. ip igmp snooping querier address ip_address
5. ip igmp snooping querier query-interval interval-count
6. ip igmp snooping querier tcn query [count count |interval interval]
7. ip igmp snooping querier timer expiry timeout
8. ip igmp snooping querier version version
9. end
10. show ip igmp snooping vlan vlan-id
11. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Enables the IGMP snooping querier.ip igmp snooping querier
Example:
Switch(config)# ip igmp snooping querier
Step 3
(Optional) Specifies an IP address for the IGMP snooping
querier. If you do not specify an IP address, the querier tries
to use the global IP address configured for the IGMP querier.
ip igmp snooping querier address ip_address
Example:
Switch(config)# ip igmp snooping querier
Step 4
The IGMP snooping querier does not generate an
IGMP general query if it cannot find an IP address
on the switch.
Note
address 172.16.24.1
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 29
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring the IGMP Snooping Querier
PurposeCommand or Action
(Optional) Sets the interval between IGMP queriers. The
range is 1 to 18000 seconds.
ip igmp snooping querier query-interval
interval-count
Example:
Switch(config)# ip igmp snooping querier
Step 5
query-interval 30
(Optional) Sets the time between Topology Change
Notification (TCN) queries. The count range is 1 to 10. The
interval range is 1 to 255 seconds.
ip igmp snooping querier tcn query [count count |
interval interval]
Example:
Switch(config)# ip igmp snooping querier tcn
Step 6
query interval 20
(Optional) Sets the length of time until the IGMP querier
expires. The range is 60 to 300 seconds.
ip igmp snooping querier timer expiry timeout
Example:
Switch(config)# ip igmp snooping querier timer
Step 7
expiry 180
(Optional) Selects the IGMP version number that the querier
feature uses. Select 1 or 2.
ip igmp snooping querier version version
Example:
Switch(config)# ip igmp snooping querier
Step 8
version 2
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 9
(Optional) Verifies that the IGMP snooping querier is enabled
on the VLAN interface. The VLAN ID range is 1 to 1001
and 1006 to 4094.
show ip igmp snooping vlan vlan-id
Example:
Switch# show ip igmp snooping vlan 30
Step 10
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 11
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
30 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring the IGMP Snooping Querier
Related Topics
IGMP Snooping, on page 4
Prerequisites for IGMP Snooping, on page 1
Example: Setting the IGMP Snooping Querier Source Address, on page 48
Example: Setting the IGMP Snooping Querier Maximum Response Time, on page 48
Example: Setting the IGMP Snooping Querier Timeout, on page 49
Example: Setting the IGMP Snooping Querier Feature, on page 49
Disabling IGMP Report Suppression
Follow these steps to disable IGMP report suppression:
SUMMARY STEPS
1. enable
2. configure terminal
3. no ip igmp snooping report-suppression
4. end
5. show ip igmp snooping
6. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Disables IGMP report suppression. When report suppression is
disabled, all IGMP reports are forwarded to the multicast routers.
no ip igmp snooping report-suppression
Example:
Switch(config)# no ip igmp snooping
Step 3
IGMP report suppression is enabled by default.
When IGMP report supression is enabled, the switch forwards only
one IGMP report per multicast router query.
To re-enable IGMP report suppression, use the ip igmp
snooping report-suppression global configuration
command.
Note
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 31
Configuring IGMP Snooping and Multicast VLAN Registration
Disabling IGMP Report Suppression
PurposeCommand or Action
report-suppression
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifies that IGMP report suppression is disabled.show ip igmp snooping
Example:
Switch# show ip igmp snooping
Step 5
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
Related Topics
IGMP Report Suppression, on page 8
Configuring MVR Global Parameters
You do not need to set the optional MVR parameters if you choose to use the default settings. If you want to
change the default parameters (except for the MVR VLAN), you must first enable MVR.
For complete syntax and usage information for the commands used in this section, see the command
reference for this release.
Note
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
32 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring MVR Global Parameters
SUMMARY STEPS
1. enable
2. configure terminal
3. mvr
4. mvr group ip-address [count]
5. mvr querytime value
6. mvr vlan vlan-id
7. mvr mode {dynamic |compatible}
8. end
9. Use one of the following:
show mvr
show mvr members
10. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Enables MVR on the switch.mvr
Example:
Switch (config)# mvr
Step 3
Configures an IP multicast address on the switch or use the count parameter
to configure a contiguous series of MVR group addresses (the range for
mvr group ip-address [count]
Example:
Switch(config)# mvr group
Step 4
count is 1 to 256; the default is 1). Any multicast data sent to this address
is sent to all source ports on the switch and all receiver ports that have
elected to receive data on that multicast address. Each multicast address
would correspond to one television channel.
228.1.23.4
To return the switch to its default settings, use the no mvr [mode
|group ip-address |querytime |vlan] global configuration
commands.
Note
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 33
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring MVR Global Parameters
PurposeCommand or Action
(Optional) Defines the maximum time to wait for IGMP report
memberships on a receiver port before removing the port from multicast
mvr querytime value
Example:
Switch(config)# mvr querytime
Step 5
group membership. The value is in units of tenths of a second. The range
is 1 to 100, and the default is 5 tenths or one-half second.
10
(Optional) Specifies the VLAN in which multicast data is received; all
source ports must belong to this VLAN. The VLAN range is 1 to 1001
and 1006 to 4094. The default is VLAN 1.
mvr vlan vlan-id
Example:
Switch(config)# mvr vlan 22
Step 6
(Optional) Specifies the MVR mode of operation:mvr mode {dynamic |compatible}
Step 7
Example:
Switch(config)# mvr mode
dynamicAllows dynamic MVR membership on source ports.
compatibleIs compatible with Catalyst 3500 XL and Catalyst 2900
XL switches and does not support IGMP dynamic joins on source
ports.
dynamic
The default is compatible mode.
To return the switch to its default settings, use the no mvr [mode
|group ip-address |querytime |vlan] global configuration
commands.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 8
Verifies the configuration.Use one of the following:
Step 9
show mvr
show mvr members
Example:
Switch# show mvr
OR
Switch# show mvr members
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 10
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
34 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring MVR Global Parameters
PurposeCommand or Action
startup-config
Configuring MVR Interfaces
Follow these steps to configure Layer 2 MVR interfaces:
SUMMARY STEPS
1. enable
2. configure terminal
3. mvr
4. interface interface-id
5. mvr type {source |receiver}
6. mvr vlan vlan-id group [ip-address]
7. mvr immediate
8. end
9. Use one of the following:
show mvr
show mvr interface
show mvr members
10. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 35
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring MVR Interfaces
PurposeCommand or Action
Enables MVR on the switch.mvr
Example:
Switch (config)# mvr
Step 3
Specifies the Layer 2 port to configure, and enter interface configuration
mode.
interface interface-id
Example:
Switch(config)# interface
Step 4
gigabitethernet1/0/2
Configures an MVR port as one of these:mvr type {source |receiver}
Step 5
Example:
Switch(config-if)# mvr type receiver
sourceConfigures uplink ports that receive and send multicast
data as source ports. Subscribers cannot be directly connected to
source ports. All source ports on a switch belong to the single
multicast VLAN.
receiverConfigures a port as a receiver port if it is a subscriber
port and should only receive multicast data. It does not receive
data unless it becomes a member of the multicast group, either
statically or by using IGMP leave and join messages. Receiver
ports cannot belong to the multicast VLAN.
The default configuration is as a non-MVR port. If you attempt to
configure a non-MVR port with MVR characteristics, the operation fails.
To return the interface to its default settings, use the no mvr
[type |immediate |vlan vlan-id |group] interface configuration
commands.
Note
(Optional) Statically configures a port to receive multicast traffic sent
to the multicast VLAN and the IP multicast address. A port statically
mvr vlan vlan-id group [ip-address]
Example:
Switch(config-if)# mvr vlan 22 group
Step 6
configured as a member of a group remains a member of the group until
statically removed.
In compatible mode, this command applies to only receiver
ports. In dynamic mode, it applies to receiver ports and source
ports.
Note
Receiver ports can also dynamically join multicast groups by using IGMP
join and leave messages.
228.1.23.4
(Optional) Enables the Immediate-Leave feature of MVR on the port.mvr immediate
Step 7
Example:
Switch(config-if)# mvr immediate
This command applies to only receiver ports and should only
be enabled on receiver ports to which a single receiver device
is connected.
Note
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
36 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring MVR Interfaces
PurposeCommand or Action
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 8
Verifies the configuration.Use one of the following:
Step 9
show mvr
show mvr interface
show mvr members
Example:
Switch# show mvr interface
Port Type Status
Immediate Leave
---- ---- -------
---------------
Gi1/0/2 RECEIVER ACTIVE/DOWN
ENABLED
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 10
startup-config
Configuring IGMP Profiles
Follow these steps to create an IGMP profile:
This task is optional.
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 37
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring IGMP Profiles
SUMMARY STEPS
1. enable
2. configure terminal
3. ip igmp profile profile number
4. permit |deny
5. range ip multicast address
6. end
7. show ip igmp profile profile number
8. show running-config
9. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Assigns a number to the profile you are configuring, and enters IGMP
profile configuration mode. The profile number range is 1 to 4294967295.
ip igmp profile profile number
Example:
Switch(config)# ip igmp profile 3
Step 3
When you are in IGMP profile configuration mode, you can create the
profile by using these commands:
denySpecifies that matching addresses are denied; this is the default.
exitExits from igmp-profile configuration mode.
noNegates a command or returns to its defaults.
permitSpecifies that matching addresses are permitted.
rangeSpecifies a range of IP addresses for the profile. You can
enter a single IP address or a range with a start and an end address.
The default is for the switch to have no IGMP profiles configured.
To delete a profile, use the no ip igmp profile profile number
global configuration command.
Note
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
38 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring IGMP Profiles
PurposeCommand or Action
(Optional) Sets the action to permit or deny access to the IP multicast
address. If no action is configured, the default for the profile is to deny
access.
permit |deny
Example:
Switch(config-igmp-profile)# permit
Step 4
Enters the IP multicast address or range of IP multicast addresses to which
access is being controlled. If entering a range, enter the low IP multicast
address, a space, and the high IP multicast address.
range ip multicast address
Example:
Switch(config-igmp-profile)# range
Step 5
You can use the range command multiple times to enter multiple addresses
or ranges of addresses.
229.9.9.0
To delete an IP multicast address or range of IP multicast addresses,
use the no range ip multicast address IGMP profile configuration
command.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 6
Verifies the profile configuration.
show ip igmp profile profile number
Example:
Switch# show ip igmp profile 3
Step 7
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 8
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 9
startup-config
Related Topics
IGMP Filtering and Throttling, on page 12
Restrictions for IGMP Snooping, on page 2
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 39
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring IGMP Profiles
Applying IGMP Profiles
To control access as defined in an IGMP profile, you have to apply the profile to the appropriate interfaces.
You can apply IGMP profiles only to Layer 2 access ports; you cannot apply IGMP profiles to routed ports
or SVIs. You cannot apply profiles to ports that belong to an EtherChannel port group. You can apply a profile
to multiple interfaces, but each interface can have only one profile applied to it.
Follow these steps to apply an IGMP profile to a switch port:
SUMMARY STEPS
1. enable
2. configure terminal
3. interface interface-id
4. ip igmp filter profile number
5. end
6. show running-config
7. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the physical interface, and enters interface
configuration mode. The interface must be a Layer 2 port that
does not belong to an EtherChannel port group.
interface interface-id
Example:
Switch(config)# interface
Step 3
gigabitethernet1/0/1
Applies the specified IGMP profile to the interface. The range
is 1 to 4294967295.
ip igmp filter profile number
Example:
Switch(config-if)# ip igmp filter 321
Step 4
To remove a profile from an interface, use the no ip
igmp filter profile number interface configuration
command.
Note
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
40 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Applying IGMP Profiles
PurposeCommand or Action
Returns to privileged EXEC mode.end
Example:
Switch(config-if)# end
Step 5
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 6
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 7
Related Topics
IGMP Filtering and Throttling, on page 12
Restrictions for IGMP Snooping, on page 2
Setting the Maximum Number of IGMP Groups
Follow these steps to set the maximum number of IGMP groups that a Layer 2 interface can join:
Before You Begin
This restriction can be applied to Layer 2 ports only; you cannot set a maximum number of IGMP groups on
routed ports or SVIs. You also can use this command on a logical EtherChannel interface but cannot use it
on ports that belong to an EtherChannel port group.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface interface-id
4. ip igmp max-groups number
5. end
6. show running-config interface interface-id
7. copy running-config startup-config
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 41
Configuring IGMP Snooping and Multicast VLAN Registration
Setting the Maximum Number of IGMP Groups
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the interface to be configured, and enters interface
configuration mode. The interface can be a Layer 2 port that
interface interface-id
Example:
Switch(config)# interface
Step 3
does not belong to an EtherChannel group or a EtherChannel
interface.
gigabitethernet1/0/2
Sets the maximum number of IGMP groups that the interface
can join. The range is 0 to 4294967294. The default is to have
no maximum set.
ip igmp max-groups number
Example:
Switch(config-if)# ip igmp max-groups 20
Step 4
To remove the maximum group limitation and return
to the default of no maximum, use the no ip igmp
max-groups interface configuration command.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
Verifies your entries.
show running-config interface interface-id
Example:
Switch# show running-config interface
Step 6
gigabitethernet1/0/1
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 7
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
42 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Setting the Maximum Number of IGMP Groups
Related Topics
IGMP Filtering and Throttling, on page 12
Restrictions for IGMP Snooping, on page 2
Configuring the IGMP Throttling Action
After you set the maximum number of IGMP groups that a Layer 2 interface can join, you can configure an
interface to replace the existing group with the new group for which the IGMP report was received.
Follow these steps to configure the throttling action when the maximum number of entries is in the forwarding
table:
SUMMARY STEPS
1. enable
2. configure terminal
3. interface interface-id
4. ip igmp max-groups action {deny |replace}
5. end
6. show running-config interface interface-id
7. copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the physical interface to be configured, and enters interface
configuration mode. The interface can be a Layer 2 port that does not belong
interface interface-id
Example:
Switch(config)# interface
Step 3
to an EtherChannel group or an EtherChannel interface. The interface cannot
be a trunk port.
gigabitethernet 1/0/1
When an interface receives an IGMP report and the maximum number of
entries is in the forwarding table, specifies the action that the interface takes:
ip igmp max-groups action {deny |
replace}
Step 4
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 43
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring the IGMP Throttling Action
PurposeCommand or Action
Example:
Switch(config-if)# ip igmp
denyDrops the report. If you configure this throttling action, the
entries that were previously in the forwarding table are not removed
but are aged out. After these entries are aged out and the maximum
number of entries is in the forwarding table, the switch drops the next
IGMP report received on the interface.
max-groups action replace
replaceReplaces the existing group with the new group for which
the IGMP report was received. If you configure this throttling action,
the entries that were previously in the forwarding table are removed.
When the maximum number of entries is in the forwarding table, the
switch replaces a randomly selected entry with the received IGMP
report.
To prevent the switch from removing the forwarding-table entries, you can
configure the IGMP throttling action before an interface adds entries to the
forwarding table.
To return to the default action of dropping the report, use the no ip
igmp max-groups action interface configuration command.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
Verifies your entries.show running-config interface
interface-id
Step 6
Example:
Switch# show running-config
interface gigabitethernet1/0/1
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config
Step 7
startup-config
Related Topics
IGMP Filtering and Throttling, on page 12
Restrictions for IGMP Snooping, on page 2
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
44 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Configuring the IGMP Throttling Action
Monitoring IGMP Snooping and MVR
Monitoring IGMP Snooping Information
You can display IGMP snooping information for dynamically learned and statically configured router ports
and VLAN interfaces. You can also display MAC address multicast entries for a VLAN configured for IGMP
snooping.
Table 6: Commands for Displaying IGMP Snooping Information
PurposeCommand
Displays the snooping configuration information for all VLANs
on the switch or for a specified VLAN.
(Optional) Enter vlan vlan-id to display information for a single
VLAN. The VLAN ID range is 1 to 1001 and 1006 to 4094.
show ip igmp snooping [vlan vlan-id
[detail] ]
Displays multicast table information for the switch or about a
specific parameter:
countDisplays the total number of entries for the
specified command options instead of the actual entries.
dynamicDisplays entries learned through IGMP
snooping.
userDisplays only the user-configured multicast entries.
show ip igmp snooping groups [count
|dynamic [count] | user [count]]
Displays multicast table information for a multicast VLAN or
about a specific parameter for the VLAN:
vlan-idThe VLAN ID range is 1 to 1001 and 1006 to
4094.
countDisplays the total number of entries for the
specified command options instead of the actual entries.
dynamicDisplays entries learned through IGMP
snooping.
ip_addressDisplays characteristics of the multicast
group with the specified group IP address.
userDisplays only the user-configured multicast entries.
show ip igmp snooping groups vlan
vlan-id [ip_address |count |dynamic
[count] | user[count]]
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 45
Configuring IGMP Snooping and Multicast VLAN Registration
Monitoring IGMP Snooping and MVR
PurposeCommand
Displays information on dynamically learned and manually
configured multicast router interfaces.
When you enable IGMP snooping, the switch
automatically learns the interface to which a multicast
router is connected. These are dynamically learned
interfaces.
Note
(Optional) Enter the vlan vlan-id to display information for a
particular VLAN.
show ip igmp snooping mrouter [vlan
vlan-id]
Displays information about the IP address and receiving port
of the most-recently received IGMP query message in the
VLAN and the configuration and operational state of the IGMP
snooping querier in the VLAN.
show ip igmp snooping querier [vlan
vlan-id]detail
Monitoring MVR
You can monitor MVR for the switch or for a specified interface by displaying the following MVR information.
Table 7: Commands for Displaying MVR Information
PurposeCommand
Displays MVR status and values for the switchwhether MVR is
enabled or disabled, the multicast VLAN, the maximum (256) and
current (0 through 256) number of multicast groups, the query
response time, and the MVR mode.
show mvr
Displays all MVR interfaces and their MVR configurations.
When a specific interface is entered, displays this information:
TypeReceiver or Source
StatusOne of these:
Active means the port is part of a VLAN.
Up/Down means that the port is forwarding or
nonforwarding.
Inactive means that the port is not part of any VLAN.
Immediate LeaveEnabled or Disabled
If the members keyword is entered, displays all multicast group
members on this port or, if a VLAN identification is entered, all
multicast group members on the VLAN. The VLAN ID range is 1
to 1001 and 1006 to 4094.
show mvr interface [interface-id]
[members [vlan vlan-id]]
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
46 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Monitoring MVR
PurposeCommand
Displays all receiver and source ports that are members of any IP
multicast group or the specified IP multicast group IP address.
show mvr members [ip-address]
Monitoring IGMP Filtering and Throttling Configuration
You can display IGMP profile characteristics, and you can display the IGMP profile and maximum group
configuration for all interfaces on the switch or for a specified interface. You can also display the IGMP
throttling configuration for all interfaces on the switch or for a specified interface.
Table 8: Commands for Displaying IGMP Filtering and Throttling Configuration
PurposeCommand
Displays the specified IGMP profile or all the
IGMP profiles defined on the switch.
show ip igmp profile [profile number]
Displays the configuration of the specified
interface or the configuration of all interfaces on
the switch, including (if configured) the
maximum number of IGMP groups to which an
interface can belong and the IGMP profile
applied to the interface.
show running-config [interface interface-id]
Configuration Examples for IGMP Snooping and MVR
Example: Configuring IGMP Snooping Using CGMP Packets
This example shows how to configure IGMP snooping to use CGMP packets as the learning method:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 1 mrouter learn cgmp
Switch(config)# end
Example: Enabling a Static Connection to a Multicast Router
This example shows how to enable a static connection to a multicast router:
Switch configure terminal
Switch ip igmp snooping vlan 200 mrouter interface gigabitethernet1/0/2
Switch end
Related Topics
Configuring a Multicast Router Port , on page 18
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 47
Configuring IGMP Snooping and Multicast VLAN Registration
Monitoring IGMP Filtering and Throttling Configuration
Example: Configuring a Host Statically to Join a Group
This example shows how to statically configure a host on a port:
Switch# configure terminal
Switch# ip igmp snooping vlan 105 static 224.2.4.12 interface gigabitethernet1/0/1
Switch# end
Related Topics
Configuring a Host Statically to Join a Group , on page 19
Joining a Multicast Group, on page 5
Example: Enabling IGMP Immediate Leave
This example shows how to enable IGMP Immediate Leave on VLAN 130:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 130 immediate-leave
Switch(config)# end
Related Topics
Enabling IGMP Immediate Leave , on page 21
Immediate Leave , on page 7
Example: Setting the IGMP Snooping Querier Source Address
This example shows how to set the IGMP snooping querier source address to 10.0.0.64:
Switch# configure terminal
Switch(config)# ip igmp snooping querier 10.0.0.64
Switch(config)# end
Related Topics
Configuring the IGMP Snooping Querier , on page 29
IGMP Snooping, on page 4
Example: Setting the IGMP Snooping Querier Maximum Response Time
This example shows how to set the IGMP snooping querier maximum response time to 25 seconds:
Switch# configure terminal
Switch(config)# ip igmp snooping querier query-interval 25
Switch(config)# end
Related Topics
Configuring the IGMP Snooping Querier , on page 29
IGMP Snooping, on page 4
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
48 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Example: Configuring a Host Statically to Join a Group
Example: Setting the IGMP Snooping Querier Timeout
This example shows how to set the IGMP snooping querier timeout to 60 seconds:
Switch# configure terminal
Switch(config)# ip igmp snooping querier timeout expiry 60
Switch(config)# end
Related Topics
Configuring the IGMP Snooping Querier , on page 29
IGMP Snooping, on page 4
Example: Setting the IGMP Snooping Querier Feature
This example shows how to set the IGMP snooping querier feature to Version 2:
Switch# configure terminal
Switch(config)# no ip igmp snooping querier version 2
Switch(config)# end
Related Topics
Configuring the IGMP Snooping Querier , on page 29
IGMP Snooping, on page 4
Example: Configuring IGMP Profiles
This example shows how to create IGMP profile 4 allowing access to the single IP multicast address and how
to verify the configuration. If the action was to deny (the default), it would not appear in the show ip igmp
profile output display.
Switch(config)# ip igmp profile 4
Switch(config-igmp-profile)# permit
Switch(config-igmp-profile)# range 229.9.9.0
Switch(config-igmp-profile)# end
Switch# show ip igmp profile 4
IGMP Profile 4
permit
range 229.9.9.0 229.9.9.0
Example: Applying IGMP Profile
This example shows how to apply IGMP profile 4 to a port:
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)# ip igmp filter 4
Switch(config-if)# end
Example: Setting the Maximum Number of IGMP Groups
This example shows how to limit to 25 the number of IGMP groups that a port can join:
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)# ip igmp max-groups 25
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 49
Configuring IGMP Snooping and Multicast VLAN Registration
Example: Setting the IGMP Snooping Querier Timeout
Switch(config-if)# end
Example: Configuring MVR Global Parameters
This example shows how to enable MVR, configure the group address, set the query time to 1 second (10
tenths), specify the MVR multicast VLAN as VLAN 22, and set the MVR mode as dynamic:
Switch(config)# mvr
Switch(config)# mvr group 228.1.23.4
Switch(config)# mvr querytime 10
Switch(config)# mvr vlan 22
Switch(config)# mvr mode dynamic
Switch(config)# end
Example: Configuring MVR Interfaces
This example shows how to configure a port as a receiver port, statically configure the port to receive multicast
traffic sent to the multicast group address, configure Immediate Leave on the port, and verify the results:
Switch(config)# mvr
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)# mvr type receiver
Switch(config-if)# mvr vlan 22 group 228.1.23.4
Switch(config-if)# mvr immediate
Switch(config)# end
Switch# show mvr interface
Port Type Status Immediate Leave
---- ---- ------- ---------------
Gi1/0/2 RECEIVER ACTIVE/DOWN ENABLED
Additional References
Related Documents
Document TitleRelated Topic
IP Multicast Command Reference, Cisco IOS
Release15.2(2)E (Catalyst 2960-XR Switch)
For complete syntax and usage information for the
commands used in this chapter.
Cisco IOS Master Commands List, All Releases
Cisco IOS commands
Standards and RFCs
TitleStandard/RFC
Host Extensions for IP Multicasting
RFC 1112
Internet Group Management Protocol, Version 2
RFC 2236
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
50 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Example: Configuring MVR Global Parameters
MIBs
MIBs LinkMIB
To locate and download MIBs for selected platforms,
Cisco IOS releases, and feature sets, use Cisco MIB
Locator found at the following URL:
http://www.cisco.com/go/mibs
All supported MIBs for this release.
Technical Assistance
LinkDescription
http://www.cisco.com/support
The Cisco Support website provides extensive online
resources, including documentation and tools for
troubleshooting and resolving technical issues with
Cisco products and technologies.
To receive security and technical information about
your products, you can subscribe to various services,
such as the Product Alert Tool (accessed from Field
Notices), the Cisco Technical Services Newsletter,
and Really Simple Syndication (RSS) Feeds.
Access to most tools on the Cisco Support website
requires a Cisco.com user ID and password.
Feature History and Information for IGMP Snooping
ModificationRelease
This feature was introduced.Cisco IOS 15.0(2)EX1
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
OL-32573-01 51
Configuring IGMP Snooping and Multicast VLAN Registration
Feature History and Information for IGMP Snooping
IP Multicast Routing Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-XR Switches)
52 OL-32573-01
Configuring IGMP Snooping and Multicast VLAN Registration
Feature History and Information for IGMP Snooping

Navigation menu