R2511-HP MSR Router Series IP Multicast Command Reference(V5)

392
Examples
# In VLAN 2, enable MLD snooping and specify FE80:0:0:1::1 as the source IPv6 address of MLD
general queries.
<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] mld-snooping enable
[Sysname-vlan2] mld-snooping general-query source-ip fe80:0:0:1::1
Related commands
mld-snooping enable
mld-snooping group-limit
Use mld-snooping group-limit to set the maximum number of IPv6 multicast groups that a port can join.
Use undo mld-snooping group-limit to restore the default.
Syntax
mld-snooping group-limit limit [ vlan vlan-list ]
undo mld-snooping group-limit [ vlan vlan-list ]
Default
The default value is 128.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default command level
2: System level
Parameters
limit: Specifies the maximum number of IPv6 multicast groups that a port can join. The value range is 1
to 128.
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.
Usage guidelines
For a device that supports both MLD snooping and MLD, you can also use the mld group-limit command
to limit the number of IPv6 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 in 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 on all VLANs that the interface belongs to. If you
specify one or multiple VLANs, the command takes effect on the specified VLANs that the interface
belongs to.