2-8

Configuring a multicast group filter in system view

Follow these steps to configure a multicast group filter in system view:
To do… Use the command… Remarks
Enter system view system-view
Configure a multicast group
filter igmp-snooping group-policy
acl-number [ vlan vlan-list ]
Required
No group filter is configured by
default, namely hosts can join
any multicast group.

Configuring a multicast group filter in Ethernet port view

Follow these steps to configure a multicast group filter in Ethernet port view:
To do… Use the command… Remarks
Enter system view system-view
Enter Ethernet port view interface interface-type
interface-number
Configure a multicast group
filter igmp-snooping group-policy
acl-number [ vlan vlan-list ]
Optional
No group filter is configured by
default, namely hosts can join
any multicast group.
z A port can belong to multiple VLANs, you can configure only one ACL rule per VLAN on a port.
z If no ACL rule is configured, all the multicast groups will be filtered.
z Since most devices broadcast unknown multicast packets by default, this function is often used
together with the function of dropping unknown multicast packets to prevent multicast streams from
being broadcast as unknown multicast packets to a port blocked by this function.
z The configuration performed in system view takes effect on all ports of the device if no VLAN is
specified; if one or more VLANs are specified, the configuration takes effect on all ports in the
specified VLAN(s).
z The configuration performed in Ethernet port view takes effect on the port no matter which VLAN it
belongs to if no VLAN is specified; if one or more VLANs are specified, the configuration takes
effect on the port only if the port belongs to the specified VLAN(s).
Configuring the Maximum Number of Multicast Groups on a Port
By configuring the maximum number of multicast groups that can be joined on a port, you can limit the
number of multicast programs on-demand available to users, thus to regulate traffic on the port.