For a switch that supports both IGMP Snooping and IGMP, you can also use the igmp group-limit
command to limit the number of multicast groups that can be joined on an interface. However, if
you configure a limit of the number of groups for ports in a VLAN while you have configured a limit
of the number of groups for the VLAN interface of the same VLAN, or vice versa, this may cause
inconsistencies between Layer 2 and Layer 3 table entries. Therefore, it is recommended to
configure a limit of the number of multicast groups only on the VLAN interface..
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).
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).
Examples
# Specify to allow a maximum of 10 multicast groups to be joined on Ethernet 2/0/1 in VLAN 2.
<Sysname> system-view
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] igmp-snooping group-limit 10 vlan 2
igmp-snooping group-policy
Syntax
igmp-snooping group-policy acl-number [ vlan vlan-list ]
undo igmp-snooping group-policy [ vlan vlan-list ]
View
Ethernet interface view, Layer 2 aggregate interface view, port group view
Default Level
2: System level
Parameters
acl-number: Basic or advanced ACL number, in the range of 2000 to 3999. The source address or
address range specified in the advanced ACL rule is used to match the multicast source address(es)
specified in IGMPv3 reports, rather than the source address in the IP packets. The system assumes
that an IGMPv1 or IGMPv2 report or an IGMPv3 IS_EX and TO_EX report that does not carry a
multicast source address carries a multicast source address of 0.0.0.0.
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-policy command to configure a multicast group filter on the current
port(s).
1-12
Need help?
Do you have a question about the S7906E and is the answer not in the manual?
Questions and answers