< Home

Enabling the IGMP Functions

After IGMP is enabled on the interface that connects a multicast device to the user network segment, the hosts on the user network segment can dynamically join the desired multicast groups.

Context

You need to enable IGMP on the interface connected to the hosts. Because the packet formats of IGMPv1, IGMPv2, and IGMPv3 are different, you need to specify the IGMP version for FWs and hosts first (the later version at the FW side is compatible with the earlier version at the host side). After this, perform other IGMP configurations.

Procedure

  1. Access the system view.

    system-view

  2. Access the interface view.

    interface interface-type interface-number

    interface-type interface-number specified the interface connecting the host.

  3. (Optional) Enable PIM.

    pim dm

    or

    pim sm

    If IGMPv1 is run on an interface, you must enable PIM. This is because IGMPv1 does not the querier election. In IGMPv1, the querier is specified by PIM.

    If IGMPv2/v3 is run on an interface, PIM is recommended. Although IGMPv2/v3 supports the querier election, enabling PIM improves the system stability.

  4. Enable IGMP.

    igmp enable

    By default, IGMP is not enabled on the interface.

    When the interface that connects a multicast device to the user network segment joins a multicast group in both dynamic and static modes, the interface preferentially joins the multicast group in static mode if a conflict occurs.

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