28-27
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 28 Configuring IGMP Snooping and Filtering, and MVR
Configuring MVR
Switch(config-if)# exit
Switch(config)# interface fastEthernet 2/3
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 100
Switch(config-if)# mvr type source
To verify the configuration, enter the show mvr command:
Switch# show mvr interface
Port Type Mode VLAN Status Immediate Leave
------------------------------------------------------------------------------
Fa2/2 RECEIVER Access 200 ACTIVE/UP DISABLED
Fa2/3 SOURCE Access 100 ACTIVE/UP DISABLED
Dynamic Mode:
Switch# show mvr members
MVR Group IP Status Members VLAN Membership
Compatible Mode:
Switch# show mvr members
MVR Group IP Status Members VLAN Membership
---------------------------------------------------------------------
225.1.1.1 ACTIVE/UP Fa2/3 100 Static
Configuring MVR on a Trunk Port
To configure MVR on a trunk port, perform these steps:
This example shows how to configure MVR “receiver” VLANs on trunk ports:
Switch(config)# interface fastEthernet 2/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# mvr type source
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# mvr
Enables MVR on the switch.
Step 3
Switch(config)# interface interface-id
Enters interface configuration mode, and enters the
type and number of the Layer 2 port to configure.
Step 4
Switch(config-if)# switchport mode trunk
Change the interface to trunk mode
Step 5
Switch(config-if)# mvr type receiver
Specifies that the trunk port is an MVR receiver port.
Step 6
Switch(config-if)# mvr vlan mvr-vlan-id receiver
vlan receiver-vlan-id
Enables this trunk port to distribute MVR traffic
arriving from the MVR VLAN to the VLAN on the
trunk identified by the receiver VLAN.
Note This command is not accepted unless you
first enter the mvr type receiver command.
Step 7
Switch(config-if)# mvr vlan vlan-id group ip-address
receiver vlan-id
(Optional) Configures the trunk port to be a static
member of the group on the receiver VLAN.
Step 8
Switch(config-if)# end
Returns to privileged EXEC mode.
Step 9
Switch# show mvr [interface | members]
Verifies the configuration.
Step 10
Switch# copy running-config startup-config
(Optional) Saves your entries in the configuration
file.