15
By default, the source IP address of IGMP general queries is 0.0.0.0.
This command takes effect only if IGMP snooping is enabled in the VLAN.
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
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
limit
: Specifies the maximum number of multicast groups that a port can join. in the range of 1 to 2000.
vlan
vlan-list
: Specifies one or multiple VLANs. You can provide up to 10 VLAN lists. For each list, 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 value range of a VLAN
ID is 1 to 4094.
Description
Use
igmp-snooping group-limit
to set the maximum number of multicast groups that a port can join.
Use
undo igmp-snooping group-limit
to restore the default.
By default, the upper limit is 2000.
You can also use the
igmp group-limit
command to limit the number of multicast groups that an interface
can join. However, if you configure the limit both in a VLAN and on a VLAN interface of this VLAN by
using these two commands, inconsistencies might exist between Layer 2 and Layer 3 table entries.
Therefore, HP recommends you to configure the limit only on the VLAN interface.
If you do not specify any VLAN when using this command in Layer 2 Ethernet interface view or Layer 2
aggregate interface view, the command takes effect for all VLANs that the interface belongs to. If you
specify one or more VLANs, the command takes effect for the specified VLANs that the interface belongs
to.
Related commands:
igmp group-limit
.