ES-2048 User’s Guide

An example is shown next.

Enable IGMP snooping on the switch.

Set the host-timeoutand leave-timeoutvalues to 30 seconds

Set the switch to drop packets from unknown multicast groups.

sysname(config)# igmp-snooping sysname(config)# igmp-snooping host-timeout 30 sysname(config)# igmp-snooping leave-timeout 30 sysname(config)# igmp-snooping unknown-multicast-frame drop

33.2 Configure IGMP Filter

Use the following commands in the config mode to configure IGMP filtering profiles.

Syntax:

igmp-filtering

igmp-filtering profile <name> start-address <ip> end-address <ip>

where

igmp filtering profile <name>

=Enables IGMP filtering on the switch

=Specifies a name (up to 32 alphanumeric characters) for this IGMP profile. If you want to edit an existing IGMP profile enter the existing profile name followed by start-addressand end-addressparameters.

start-address

=

Specifies the starting multicast IP address for a range of multicast IP

 

 

addresses that you want to belong to the IGMP filter profile. IP

 

 

address in the range 224.0.0.0 to 239.255.255.255 are used for IP

 

 

multicasting.

end-address

=

Specifies the ending multicast IP address for a range of multicast IP

 

 

addresses that you want to belong to the IGMP filter profile. IP

 

 

address in the range 224.0.0.0 to 239.255.255.255 are used for IP

 

 

multicasting.

An example is shown next.

Enable IGMP filtering on the switch.

Create an IGMP filtering profile filter1 and specify the multicast IP addresses in the range 224.255.255.0 to 225.255.255.255 to belong to this profile.

sysname(config)# igmp-filtering

sysname(config)# igmp-filtering profile filter1 start-address 224.255.255.0 end-address 225.255.255.255

250

Chapter 33 Configuration Mode Commands