< Home

(Optional) Configuring the Range of Multicast Groups That an Interface Can Join

Context

To control the range of multicast groups that hosts on an interface's network segment can join, use an access control list (ACL) to filter Membership Report messages received on the interface. This ACL allows the switch to maintain only memberships of the interface in these multicast groups. 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. Run interface interface-type interface-number

    The interface view is displayed.

  3. (Optional) On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

    Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

  4. Run igmp group-policy acl-number [ 1 | 2 | 3 ]

    An ACL is applied to specify the range of multicast groups that the interface can join.

    By default, an interface can join any multicast groups.

    When configuring an ACL rule for an interface, use the permit parameter in the rule command to allow hosts connected to the interface to join groups within the specified range. If no rule is configured in the ACL, hosts connected to the interface cannot join any groups.

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