< Home

(Optional) Configuring Static MLD Multicast Groups on an Interface

Context

You can configure static multicast groups on user-side interfaces of a switch in some scenarios, such as when:

  • Stable group members exist on the network, requiring fast and stable multicast data forwarding.

  • Hosts require multicast data but cannot send Multicast Listener Report messages.

After a static multicast group is configured on an interface, the switch considers that group members exist on the network segment of the interface and always forwards multicast data to the group.

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 mld static-group ipv6-group-address [ inc-step-mask ipv6-group-mask-length number group-number ] [ source ipv6-source-address ]

    One or more static multicast groups are configured on the interface.

    By default, no static multicast group is configured on an interface.

    If a static Multicast Listener Discovery (MLD) group is configured on a loopback interface, the switch forwards multicast data to this group only when users request the data, which reduces traffic on the network. If a static MLD group is configured on other MLD-capable interfaces, the switch forwards multicast data to the group immediately after receiving the data. For example, you can configure static multicast groups on a loopback interface if users may request data of these groups but have not requested the data at present. If some multicast groups have stable receivers on a network segment, you can configure the static multicast groups on the interface connected to this network segment.

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