Displaying and Maintaining IGMP Snooping 569
Configuring Multicast
Group Replacement
For some special reasons, the number of multicast groups that can be joined on 
the current switch or port may exceed the number configured for the switch or 
the port. In addition, in some specific applications, a multicast group newly joined 
on the switch needs to replace an existing multicast group automatically. A typical 
example is “channel switching”, namely, by joining a new multicast group, a user 
automatically switches from the current multicast group to the new one.
To address such situations, you can enable the multicast group replacement 
function on the switch or certain ports. When the number of multicast groups 
joined on the switch or a port has joined reaches the limit:
■ If the multicast group replacement feature is enabled, the newly joined 
multicast group automatically replaces an existing multicast group with the 
lowest address.
■ If the multicast group replacement feature is not enabled, new IGMP reports 
will be automatically discarded.
Configuring multicast group replacement globally
Follow these steps to configure multicast group replacement globally:
Configuring multicast group replacement on a port or a group of ports
Follow these steps to configure multicast group replacement on a port or a group 
of ports:
c
CAUTION: Be sure to configure the maximum number of multicast groups 
allowed on a port (refer to “Configuring Maximum Multicast Groups that Can Be 
Joined on a Port” on page 568) before configuring multicast group replacement. 
Otherwise, the multicast group replacement functionality will not take effect.
Displaying and 
Maintaining IGMP 
Snooping
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter IGMP Snooping view  igmp-snooping - 
Configure multicast group 
replacement 
overflow-replace [ vlan 
vlan-list ] 
Required
Disabled by default
To do… Use the command…  Remarks 
Enter system view system-view - 
Enter the 
corresponding view 
Enter Ethernet 
port view 
interface interface-type 
interface-number 
Use either command 
Enter port group 
view 
port-group { manual 
port-group-name | 
aggregation agg-id }
Configure multicast group 
replacement
igmp-snooping 
overflow-replace [ vlan 
vlan-list ] 
Required
Disabled by default
To do…  Use the command…  Remarks 
View the information of IGMP 
Snooping multicast groups 
display igmp-snooping group [ vlan 
vlan-id ] [ verbose ] 
Available in 
any view