20-21
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
Chapter20 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 co nfigure 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 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
Port Type Status Immediate Leave
---- ---- ------- ---------------
Gi0/2 RECEIVER ACTIVE/DOWN 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 Tab le 20- 6 to display MVR configuration:
Step8 show mvr
show mvr interface
or
show mvr members
Verify the configuration.
Step9 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Table20-6 Commands for Displaying MVR Information
Command Purpose
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, di splays 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 1001 and 1006 to 4094.