User Guide 338
Configuring Layer 2 Multicast MVR Configuration
Step 5 mvr immediate
(Optional) Enable the Fast Leave feature of MVR for the port. Only receiver ports support Fast
Leave. Before enabling Fast Leave for a port, make sure there is only a single receiver device
connecting to the port.
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
| gigabitEthernet
port
| port-channel
lagid
| ten-
gigabitEthernet
port
} [members { vlan
vlan-id
}]
Show the MVR configuration.
show mvr members [
ip
] [ status { inactive | active } ]
Show the membership information of all MVR groups.
ip
: Specify the IP address of the multicast group.
inactive: Show all inactive multicast group.
active: Show all active multicast group.
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