| Step 1 | switch# configure terminal
| Enters global configuration mode.
|
| Step 2 | switch(config)# vlan vlan-id
| Enters configuration mode for the specified VLAN.
|
| Step 3 | switch(config-vlan)# [ no ] ip igmp snooping
| Enables or disables IGMP snooping in the running configuration for the specific VLAN. If IGMP snooping is enabled for the VSM, then IGMP snooping is enabled for the VLAN by default.
| Note
| IGMP snooping must be enabled globally (the default) in order to toggle it on or off per VLAN. If IGMP snooping is disabled globally, then it cannot be enabled per VLAN.
|
|
| Step 4 | switch(config-vlan)# [ no ] ip igmp snooping explicit-tracking
| (Optional) Tracks IGMPv3 membership reports from individual hosts for each port on a per-VLAN basis in the running configuration.
The default is enabled.
|
| Step 5 | switch(config-vlan)# [ no ] ip igmp snooping fast-leave
| (Optional) Enables fast-leave for the specified VLAN in the running configuration.
Fast-leave supports IGMPv2 hosts that cannot be explicitly tracked because of the host report suppression mechanism of the IGMPv2 protocol.
Enables the software to remove the group state when it receives an IGMP Leave report without sending an IGMP query message. This parameter is used for IGMPv2 hosts when no more than one host is present on each VLAN port.
When you enable fast leave, the IGMP software assumes that no more than one host is present on each VLAN port.
The default is disabled.
|
| Step 6 | switch(config-vlan)# [ no ] ip igmp snooping last-member-query-interval seconds
| (Optional) Sets the interval the software waits after sending an IGMP query to verify that no hosts that want to receive a particular multicast group remain on a network segment. If no hosts respond before the last member query interval expires, the software removes the group from the associated VLAN port.
Values range from 1 to 25 seconds. The default is 1 second.
|
| Step 7 | switch(config-vlan)# [ no ] ip igmp snooping mrouter interface type if_id
| (Optional) Configures a static connection for the VLAN to a multicast router in the running configuration.
The interface to the router must be in the specified VLAN. You can specify the interface by the type and the number, such as ethernet slot/port.
vEths are not supported as router ports.
|
| Step 8 | switch(config-vlan)# [ no ] ip igmp snooping static-group group-ip-addr interface type if_id
| (Optional) Configures a VLAN Layer 2 port as a static member of a multicast group in the running configuration.
You can specify the interface by the type and the number, such as ethernet slot/port.
|
| Step 9 | switch(config-vlan)# [ no ] ip igmp snooping link-local-groups-suppression
| (Optional) Configures link-local groups suppression. The default is enabled.
| Note
| You can apply link-local groups suppression to all interfaces in the VSM by entering this command in global configuration mode.
|
|
| Step 10 | switch(config-vlan)# show ip igmp snooping [ vlan vlan-id ]
| (Optional) Displays the configuration for verification.
|
| Step 11 | switch(config-vlan)# copy running-config startup-config
| (Optional) (Optional) Saves the running configuration persistently through reboots and restarts by copying it to the startup configuration.
|