ES-2024 Series User’s Guide
221 Chapter 32 Configuration Mode Commands
32.2 Enabling IGMP Snooping
To enable IGMP snooping on the switch. Enter igmp-snooping and press [ENTER]. You
can also set how to treat traffic from an unknown multicast group by typing the
unknown-
multicast-frame
parameter.
Syntax:
igmp-snooping
igmp-snooping host-timeout <1-16711450>
igmp-snooping leave-timeout <1-16711450>
igmp-snooping unknown multicast-frame <drop|flooding>
where
An example is shown next.
• Enable IGMP snooping on the switch.
• Set the host-timeout and leave-timeout values to 30 seconds
• Set the switch to drop packets from unknown multicast groups.
32.3 Configuring an IGMP Filter
Use the following commands in the config mode to configure IGMP filtering profiles.
igmp-snooping
= Enables IGMP snooping on the switch.
host-timeout <1-
16711450>
= Specifies the timeout period of the switch with respect to
IGMP report queries. If an IGMP report for a multicast
group was not received for a host-timeout period, from a
specific port, this port is deleted from the member list of
that multicast group.
leave-timeout <1-
16711450>
= Specifies the time that the switch will wait for multicast
members to respond to a leave report. If no response is
received in the timeout period, the switch deletes the port
from the multicast group.
unknown multicast-frame
<drop|flooding>
= Specifies whether you want to discard packets from
unknown multicast groups or whether you want to forward
them to all ports.
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