20-20
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Chapter 20 Configuring IGMP Snooping and MVR
Displaying MVR Information
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 interface, and
verify the results.
Switch(config)# mvr
Switch(config)# interface gigabitethernet0/1
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/1
Type: RECEIVER Status: ACTIVE Immediate Leave: ENABLED
Displaying MVR Information
You can display MVR information for the switch or for a specified interface. Beginning in privileged
EXEC mode, use the commands in
Table 20-6 to display MVR configuration:
Step 8
show mvr
show mvr interface
or
show mvr members
Verify the configuration.
Step 9
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Ta b l e 20-6 Commands for Displaying MVR Information
show mvr Displays MVR status and values for the switch—whether MVR is enabled or disabled,
the multicast VLAN, the maximum (256) and current (0 through 256) number of
multicast groups, the query response time, and the MVR mode.
show mvr interface [interface-id]
[members [vlan vlan-id]]
Displays all MVR interfaces and their MVR configurations.
When a specific interface is entered, displays this information:
• Type—Receiver or Source
• Status—One of these:
–
Active means the port is part of a VLAN.
–
Up/Down means that the port is forwarding or nonforwarding.
–
Inactive means that the port is not part of any VLAN.
• Immediate Leave—Enabled or Disabled
If the members keyword is entered, displays all multicast group members on this port or,
if a VLAN identification is entered, all multicast group members on the VLAN. The
VLAN ID range is 1 to 4094.
show mvr members [ip-address] Displays all receiver and source ports that are members of any IP multicast group or the
specified IP multicast group IP address.