Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
22-22
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 22 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 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
---- ---- ------- ---------------
Gi0/2 RECEIVER ACTIVE/DOWN ENABLED
Step 4
mvr type {source | receiver} Configure an MVR port as one of these:
source—Configure 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—Configure 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.
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