23-22
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 23 Configuring IGMP Snooping and MVR
Configuring MVR
To return the interface to its default settings, use the no mvr [type | immediate | vlan vlan-id | group]
interface configuration commands.
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 gigabitethernet0/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
---- ---- ------- ---------------
Gi0/2 RECEIVER ACTIVE/DOWN ENABLED
Step 5 mvr vlan vlan-id group [ip-address](Optional) Statically configure 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.
Step 6 mvr immediate (Optional) Enable 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.
Step 7 end Return to privileged EXEC mode.
Step 8 show mvr
show mvr interface
or
show mvr members
Verify the configuration.
Step 9 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose