Configuration Guide
294
Configuring Layer 2 Multicast
IGMP Snooping Configurations
Switch#copy running-config startup-config
Configuring Forbidden Router Port
Step 1
configure
Enter global configuration mode.
Step 2
ip igmp snooping vlan-config
vlan-id-list
router-ports-forbidden interface {gigabitEthernet
port-list
| port-channel
port-channel-id
}
port-list
and
port-channel-id
are the ports that cannot become router ports in the specified
VLAN.
Step 3
show ip igmp snooping vlan
vlan-id
Show the basic IGMP snooping configuration in the specified VLAN.
Step 4
end
Return to privileged EXEC mode.
Step 5
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to enable IGMP Snooping in VLAN 2 and forbid port
1/0/4-6 from becoming router ports (port 1/0/4-6 will drop all multicast data from Layer 3
devices):
Switch#configure
Switch(config)#ip igmp snooping
Switch(config)#ip igmp snooping vlan-config
2
router-ports-forbidden interface
gigabitEthernet
1/0/4-6
Switch(config)#show ip igmp snooping vlan
2
Vlan Id: 2
Router Time:0
Member Time:0
Static Router Port:None
Dynamic Router Port:None
Forbidden Router Port:Gi1/0/4-6
Switch(config)#end
Switch#copy running-config startup-config