2-156
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
ip igmp snooping vlan mrouter
ip igmp snooping vlan mrouter
Use the ip igmp snooping vlan mrouter global configuration command to add a multicast router port
and to configure the multicast router learning method. Use the no form of this command to remove the
configuration.
ip igmp snooping vlan vlan-id mrouter {interface interface-id | learn {cgmp | pim-dvmrp}}
no ip igmp snooping vlan vlan-id mrouter {interface interface-id | learn {cgmp | pim-dvmrp}}
Syntax Description
Defaults The default learning method is pim-dvmrp.
Command Modes Global configuration
Command History
Usage Guidelines The CGMP learning method is useful for controlling traffic in Cisco router environments.
The configured learning method is saved in NVRAM.
Static connections to multicast routers are supported only on switch ports.
Examples This example shows how to configure an interface as a multicast router port:
Switch(config)# ip igmp snooping vlan 1 mrouter interface fastethernet0/1
This example shows how to specify the multicast router learning method as CGMP:
Switch(config)# no ip igmp snooping vlan 1 mrouter learn cgmp
You can verify your settings by entering the show ip igmp snooping mrouter privileged EXEC
command.
vlan vlan-id Specify the VLAN ID. The range is 1 to 4094.
interface interface-id Specify the interface of the member port that is configured to a static
router port.
learn {cgmp | pim-dvmrp} Specify the multicast router learning method. The keywords have
these meanings:
• cgmp—Set the switch to learn multicast router ports by snooping
on Cisco Group Management Protocol (CGMP) packets.
• pim-dvmrp—Set the switch to learn multicast router ports by
snooping on IGMP queries and Protocol-Independent
Multicasting-Distance Vector Multicast Routing Protocol
(PIM-DVMRP) packets.
Release Modification
12.0(5.2)WC(1) This command was introduced.