< Home

(Optional) Configuring a Static Multicast Group on an Interface

Context

This configuration applies to some special scenarios, for example:

  • There are long-term group members on a network segment.

  • Hosts on a network segment cannot send Report messages, but multicast data needs to be forwarded to the network segment.

In these scenarios, you can configure a static multicast group on the switch interface connected to the network segment. Multicast data can then be quickly forwarded to the network segment or be directed to the interface. After a static multicast group is configured on an interface, the switch considers that the multicast group always has members on the network segment of the interface and always forwards multicast data of the group to the interface.

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

    A static multicast group or source-group mapping is configured on the interface.

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

    • If a static multicast group or source-group mapping is configured on a loopback interface, the multicast switch forwards multicast data to this group only when users request the data, which reduces traffic on the network. If a static multicast group or source-group is configured on other IGMP-capable interfaces, the switch forwards multicast data to the group immediately after receiving the data.
    • You can configure static multicast groups on a loopback interface if users have not requested data of these groups but may do so later. 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 >