17-18
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 17 Co nfiguring IGMP S noo ping and M VR
Configuring MVR
To return the interface to its default settings, use the no mvr [type | immediate | vlan vlan-id | group]
interface configuration commands.
This exam ple sh ows how to con figure Giga bit E t herne t po rt 0 /2 a s a re ce iver port, st at ical ly c onfigure
the port to receive multicast traffic sent to the multicast group address, configure Immediate Leave on
the interface, and verify the results.
Switch(config)# mvr
Switch(config)# interface gigabitethernet0/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 gigabitethernet0/2
Type: RECEIVER Status: ACTIVE Immediate Leave: ENABLED
Step 4 mvr type {source | receiver} Configure an M VR por t a s o ne of the se:
sourceConfigure uplink ports that receive and send multicast data as
sour ce ports. Subscribe rs cannot be directly c onnect ed to source ports.
All source ports on a switch belong to the single multicast VLAN.
receiverConfigure a port as a receiver port if it is a subscriber port and
should on ly rece ive multicast data. It does n ot 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 po rt. 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 ad dress. A port statically config ured as
a member of a group remai ns a member of the group until stat ically remov ed.
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 (Opt ional) Ena ble the Immedi ate Le ave feature of MVR on th e port.
Note This co mm an d app lie s to on ly r ece iver po rts a nd sh ould only be
enable d on receiver ports to which a si ngle rece iver device is
connected.
Step 7 end Return to privileged EXEC mode.
Step 8 show mvr
show m v r i nte rf ace
or
show mvr members
Verify the configuration.
Step 9 copy running-config startup-config (Opti onal) Save your entries i n the configurat ion file.
Command Purpose