< Home

Configuring a Multicast Group Policy

Context

A multicast group policy determines which multicast groups the hosts in a VLAN can join. It applies only to dynamic multicast groups. Before configuring a multicast group policy, create an access control list (ACL) and define rules. For details on how to configure an ACL, see ACL Configuration in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - Security.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Use either of the following methods to configure a multicast group policy.

    • Configure a multicast group policy in a VLAN.
      1. Run vlan vlan-id

        The VLAN view is displayed.

      2. Run igmp-snooping group-policy acl-number [ version version-number ]

        A multicast group policy is configured.

    • Configure a multicast group policy on an interface.
      1. Run interface interface-type interface-number

        The interface view is displayed.

      2. Run igmp-snooping group-policy acl-number [ version version-number ] vlan vlan-id1 [ to vlan-id2 ]

        A multicast group policy is configured on an interface.

    By default, the user hosts in a VLAN can join any multicast group. If the IGMP version is not specified for a multicast group policy, the switch applies the policy to all the received IGMP messages regardless of their versions.

    If you configure multicast group policies for the same VLAN in the interface view and VLAN view, the system first uses the policy configured in the interface view and then the policy configured in the VLAN view to determine the groups that user hosts can join.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >