Configuring a multicast group policy

This feature enables the device to filter IGMP reports by using an ACL that specifies the multicast groups and the optional sources. It is used to control the multicast groups that hosts can join.

Configuration restrictions and guidelines

When you configure a multicast group policy, follow these restrictions and guidelines:

Configuring a multicast group policy globally

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter IGMP-snooping view.

igmp-snooping

N/A

3. Configure a multicast group policy globally.

group-policy ipv4-acl-number [ vlan vlan-list ]

By default, no multicast group policies exist, and hosts can join any multicast groups.

Configuring a multicast group policy on a port

Step

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. Configure a multicast group policy on the port.

igmp-snooping group-policy ipv4-acl-number [ vlan vlan-list ]

By default, no multicast group policies exist on a port, and hosts attached to the port can join any multicast groups.