Step 1 | switch#
configure
terminal
|
Enters global
configuration mode.
|
Step 2 | switch(config)#
ip igmp snooping
|
Globally enables IGMP snooping. The default is enabled.
Note
|
If the global setting is disabled, all VLANs are treated as
disabled, whether they are enabled or not.
|
|
Step 3 |
switch(config)#
vlan configuration
vlan-id
|
Enters VLAN configuration mode.
|
Step 4 | switch(config-vlan)#
ip igmp snooping
|
Enables IGMP snooping for the current VLAN. The default is
enabled.
Note
|
If IGMP snooping is enabled globally, this command is not
required.
|
|
Step 5 | switch(config-vlan)#
ip igmp snooping explicit-tracking
|
Tracks IGMPv2 and IGMPv3 membership reports from individual hosts for each port on a per-VLAN basis. The default is enabled on all VLANs.
|
Step 6 | switch(config-vlan)#
ip igmp snooping fast-leave
|
Supports IGMPv2 hosts that cannot be explicitly tracked because of
the host report suppression mechanism of the IGMPv2 protocol. 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 for all VLANs.
|
Step 7 |
switch(config-vlan)#
ip igmp snooping last-member-query-interval
seconds
|
Removes the group from the associated VLAN port if no hosts
respond to an IGMP query message before the last member query interval expires.
Values range from 1 to 25 seconds. The default is 1 second.
|
Step 8 | switch(config-vlan)#
ip igmp snooping querier
IP-address
|
Configures a snooping querier when you do not enable PIM because
multicast traffic does not need to be routed. The IP address is used as the
source in messages. The default is disabled.
|
Step 9 | switch(config-vlan)#
ip igmp snooping report-suppression
|
Limits the membership report traffic sent to multicast-capable
routers. When you disable report suppression, all IGMP reports are sent as is
to multicast-capable routers. The default is enabled.
|
Step 10 |
switch(config-vlan)#
ip igmp snooping mrouter interface
interface
|
Configures a static connection to a multicast router. The
interface to the router must be in the selected VLAN. You can specify the
interface by type and number.
|
Step 11 | switch(config-vlan)#
ip igmp snooping static-group
group-ip-addr [source
source-ip-addr]
interface
interface
|
Configures an interface belonging to a VLAN as a static member of
a multicast group. You can specify the interface by type and number.
|