Chapter 24 Configuring IGMP Snooping and MVR

Configuring MVR

 

Command

Purpose

Step 3

 

 

interface interface-id

Specify the Layer 2 port to configure, and enter interface configuration

 

 

mode.

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

Verify the configuration.

 

show mvr interface

 

 

or

 

 

show mvr members

 

Step 9

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

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

----

----

-------

---------------

 

 

 

 

Gi1/0/2

RECEIVER

ACTIVE/DOWN

ENABLED

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-9775-02

 

 

 

 

24-23

 

 

 

 

 

 

 

Page 577
Image 577
Cisco Systems 3750E manual Mvr type source receiver, Mvr immediate, Show mvr interface Show mvr members, 24-23