1-11
Related commands: igmp-snooping enable.
Examples
# In VLAN 2, enable IGMP snooping and specify 10.1.1.1 as the source IP address of IGMP general
queries.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping general-query source-ip 10.1.1.1
igmp-snooping group-limit
Syntax
igmp-snooping group-limit limit [ vlan vlan-list ]
undo igmp-snooping group-limit [ vlan vlan-list ]
View
Ethernet interface view, Layer 2 aggregate interface view, port group view
Default Level
2: System level
Parameters
limit: Maximum number of multicast groups that can be joined on a port. The effective range is 1 to 256.
vlan vlan-list: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which
you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to
end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID. The effective range of a
VLAN ID is 1 to 4094.
Description
Use the igmp-snooping group-limit command to configure the maximum number of multicast groups
that can be joined on a port.
Use the undo igmp-snooping group-limit command to restore the default setting.
The default the maximum number of multicast groups is 256.
Note that:
z If you do not specify any VLAN when using this command in Ethernet interface view or Layer 2
aggregate interface view, the command will take effect for all VLANs the interface belongs to; if you
specify a VLAN or multiple VLANs, the command will take effect only if the interface belongs to the
specified VLAN(s).
z If you do not specify any VLAN when using this command in port group view, the command will
take effect on all the ports in this group; if you specify a VLAN or multiple VLANs, the command will
take effect only on those ports in this group that belong to the specified VLAN(s).