Configuring a multicast group policy

About multicast group policies

This feature enables the Layer 2 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. This configuration takes effect only on the multicast groups that ports join dynamically.

In a multicast application, a host sends an unsolicited IGMP report when a user requests a multicast program. The Layer 2 device uses the multicast group policy to filter the IGMP report. The host can join the multicast group only if the IGMP report is permitted by the multicast group policy.

Configuring a multicast group policy globally

  1. Enter system view.

    system-view

  2. Enter IGMP-snooping view.

    igmp-snooping

  3. Configure a multicast group policy globally.

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

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

Configuring a multicast group policy on a port

  1. Enter system view.

    system-view

  2. Enter Layer 2 interface view.

    • Enter Layer 2 Ethernet interface view.

      interface interface-type interface-number

    • Enter Layer 2 aggregate interface view.

      interface bridge-aggregation interface-number

  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 are configured on a port, and hosts attached to the port can join any multicast groups.