SNR S2940-8G-v2 Switch Configuration Guide
IPv4 Multicast Protocol
IGMP Snooping is also referred to as IGMP listening. The switch prevents multicast traffic from
flooding through IGMP Snooping, multicast traffic is forwarded to ports associated to multicast
devices only. The switch listens to the IGMP messages between the multicast router and hosts,
and maintains multicast group forwarding table based on the listening result, and can then decide
to forward multicast packets according to the forwarding table.
Switch provides IGMP Snooping and is able to send a query from the switch so that the user
can use switch in IP multicast.
40.3.2 IGMP Snooping Configuration Task List
1. Enable IGMP Snooping
2. Configure IGMP Snooping
1. Enable IGMP Snooping
Command Explanation
Global Configuration Mode
ip igmp snooping
no ip igmp snooping
Enables IGMP Snooping. The no operation disables IGMP
Snooping function.
2. Configure IGMP Snooping
Command Explanation
Global Configuration Mode
ip igmp snooping vlan <vlan-id>
no ip igmp snooping vlan <vlan-id>
Enables IGMP Snooping for specified VLAN. The
no operation disables IGMP Snooping for speci-
fied VLAN.
ip igmp snooping proxy
no ip igmp snooping proxy
Enable IGMP Snooping proxy function, the no
command disables the function.
ip igmp snooping vlan <vlan-id> limit { group
<g_limit> | source <s_limit> }
no ip igmp snooping vlan <vlan-id> limit
Configure the max group count of vlan and the
max source count of every group. The 'no ip igmp
snooping vlan <vlan-id> limit' command cancels
this configuration.
ip igmp snooping vlan <1-4094> interface
(ethernet | port-channel | ) IFNAME limit
{ group <1-65535> | source <1-65535> }
strategy (replace | drop)
no ip igmp snooping vlan <1-4094> inter-
face (ethernet | port-channel | ) IFNAME
limit group source strategy
Configure the number of groups which are al-
lowed joining and the maximum of the source in
each group under the IGMP Snooping port. Con-
figure the strategy when it is up to the upper limit,
including 'replace' and 'drop'. No command con-
figures as 'no limitation'.
ip igmp snooping vlan <vlan-id> l2-general-
querier
no ip igmp snooping vlan <vlan-id> l2-
general-querier
Set this vlan to layer 2 general querier. It is rec-
ommended to configure a layer 2 general querier
on a segment. The 'no ip igmp snooping vlan
<vlan-id> l2-general-querier' command cancels
this configuration.
ip igmp snooping vlan <vlan-id> l2-general-
querier-version <version>
Configure the version number of a general query
from a layer 2 general querier.
265