Configuring an IPv6 multicast group policy

About IPv6 multicast group policies

This feature enables the Layer 2 device to filter MLD reports by using an ACL that specifies the IPv6 multicast groups and the optional sources. It is used to control the IPv6 multicast groups that receiver hosts can join. This configuration takes effect on the IPv6 multicast groups that ports join dynamically.

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

Configuring an IPv6 multicast group policy globally

  1. Enter system view.

    system-view

  2. Enter MLD-snooping view.

    mld-snooping

  3. Configure an IPv6 multicast group policy globally.

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

    By default, no IPv6 multicast group policies exist. Hosts can join any IPv6 multicast groups.

Configuring an IPv6 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 an IPv6 multicast group policy on the port.

    mld-snooping group-policy ipv6-acl-number [ vlan vlan-list ]

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