26
Setting the maximum number of multicast groups on a port
You can set the maximum number of multicast groups on a port to regulate the port traffic.
When you set the maximum number of multicast groups on a port, follow these guidelines:
• This configuration is effective on the multicast groups that a port dynamically joins. If you configure
the port as a static member port for a multicast group, this configuration is not effective on the
multicast group.
• If the number of multicast groups on a port exceeds the limit, the system removes all the forwarding
entries related to that port from the IGMP snooping forwarding table. The receiver hosts attached to
that port can join multicast groups again before the number of multicast groups on the port reaches
the limit.
To set the maximum number of multicast groups on a port:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
interface interface-type
interface-number
N/A
3. Set the maximum number of
multicast groups on a port.
igmp-snooping group-limit limit
[ vlan vlan-list ]
The default setting is
4294967295.
Enabling the multicast group replacement function
When the number of multicast groups on a switch or a port exceeds the limit:
• If the multicast group replacement is enabled, the switch or the port replaces an existing multicast
group with a newly joined multicast group.
• If the multicast group replacement is disabled, the switch or the port discards IGMP reports that are
used for joining a new multicast group.
In some specific applications, such as channel switching, a newly joined multicast group must
automatically replace an existing multicast group. In this case, the function of multicast group
replacement must also be enabled so a user can switch from the current multicast group to a new group.
When you enable the multicast group replacement function, follow these guidelines:
• This configuration is effective on the multicast groups that a port dynamically joins. If you configure
the port as a static member port for a multicast group, this configuration is not effective on the
multicast group.
• You can enable the multicast group replacement function either for the current port in interface view
or globally for all ports in IGMP-snooping view. If the configurations are made in both interface
view and IGMP-snooping view, the configuration made in interface view takes priority.
To enable the multicast group replacement function globally:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter IGMP-snooping view.
igmp-snooping N/A