Configuration Guide
298
Configuring Layer 2 Multicast
IGMP Snooping Configurations
Step 2
ip igmp snooping multi-vlan-config [
vlan-id
] router-ports-forbidden interface
{gigabitEthernet
port-list
| port-channel
port-channel-id
}
vlan-id
specifies the multicast VLAN to be configured.
port-list
and
port-channel-id
are the ports that cannot become router ports in the multicast
VLAN.
Step 3
show ip igmp snooping multi-vlan
Show the IGMP snooping configuration in the multicast 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 configure VLAN 5 as the multicast VLAN, and set port
1/0/6 as the forbidden router port:
Switch#configure
Switch(config)#ip igmp snooping
Switch(config)#ip igmp snooping multi-vlan-config
5
router-ports-forbidden interface
gigabitEthernet
1/0/6
Switch(config)#show ip igmp snooping multi-vlan
Multicast Vlan:Enable
Vlan Id: 5
Router Time:300
Member Time:260
Replace Source IP:0.0.0.0
Static Router Port:None
Dynamic Router Port:None
Forbidden Router Port:Gi1/0/6
Switch(config)#end
Switch#copy running-config startup-config
Configuring Replace Source IP
Step 1
configure
Enter global configuration mode.