Configuring Layer 2 Multicast
MVR Configuration
User Guide
253
Step 6
mvr vlan
vlan-id
group
ip-addr
(Optional) Statically add the port to an MVR group. Then the port can receive multicast traffic
sent to the IP multicast address via the multicast VLAN.
This command applies to only receiver ports. The switch adds or removes the receiver ports
to the corresponding multicast groups by snooping the report and leave messages from the
hosts. You can also statically add a receiver port to an MVR group.
vlan-id
: Enter the multicast VLAN ID.
ip-addr
: Specify the IP address of the multicast group.
Step 7
show mvr interface {fastEthernet [
port-list
] | gigabitEthernet [
port-list
]
| ten-
gigabitEthernet [
port-list
] }
Show the MVR configuration of the specified interface(s).
show mvr members
Show the membership information of all MVR groups.
Step 8
end
Return to privileged EXEC mode.
Step 9
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure port 1/0/7 as source port, and port 1/0/1-3
as receiver ports. Then statically add port 1/0/1-3 to group 239.1.2.3 and enable MVR Fast
Leave for these ports. The multicast VLAN is VLAN 2.
Switch#configure
Switch(config)#interface gigabitEthernet
1/0/7
Switch(config-if)#mvr
Switch(config-if)#mvr type
source
Switch(config-if)#exit
Switch(config)#interface range gigabitEthernet
1/0/1-3
Switch(config-if-range)#mvr
Switch(config-if-range)#mvr type
receiver
Switch(config-if-range)#mvr immediate
Switch(config-if-range)#mvr vlan
2
group
239.1.2.3
Switch(config-if-range)#show mvr interface fastEtnernet
1/0/1-3,1/0/7
Downloaded from