Configuring IGMP Snooping and MVR
How to Configure IGMP Snooping and MVR
Command
5.
mvr vlan vlan-id
6.
mvr mode {dynamic | compatible}
7.
end
Configuring MVR Interfaces
Command
1.
configure terminal
2.
mvr
3.
interface interface-id
4.
mvr type {source | receiver}
5.
mvr vlan vlan-id group [ip-address]
6.
mvr immediate
7.
end
Purpose
(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
4096. The default is VLAN 1.
(Optional) Specifies the MVR mode of operation:
dynamic—Allows dynamic MVR membership on source ports.
compatible—Is compatible with Catalyst 3500 XL and Catalyst 2900 XL
switches and does not support IGMP dynamic joins on source ports.
The default is compatible mode.
Returns to privileged EXEC mode.
Purpose
Enters global configuration mode.
Enables MVR on the switch.
Specifies the Layer 2 port to configure, and enters interface configuration
mode.
Configures an MVR port as one of these:
source—Configures 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.
receiver—Configures 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.
(Optional) Statically configures a port to receive multicast traffic sent to the
multicast VLAN and the IP multicast address. A port statically configured as
a member of a group remains a member of the group until statically
removed.
Note:
In compatible mode, this command applies to only receiver ports. In
dynamic mode, it applies to receiver ports and source ports.
Receiver ports can also dynamically join multicast groups by using IGMP join
and leave messages.
(Optional) Enables the Immediate-Leave feature of MVR on the port.
Note:
This command applies to only receiver ports and should only be
enabled on receiver ports to which a single receiver device is connected.
Returns to privileged EXEC mode.
439