(Optional) Configuring the Router-Alert Option for IGMP Messages

You can configure a device to deny IGMP messages that do not contain the Router-Alert option and the device to send IGMP messages that contain the Router-Alert option.

Context

To allow IGMP packets to be sent to the routing protocol layer, the Router-Alert option mechanism is used to mark protocol packets. If a packet contains the Router-Alert option, the packet must be sent to and processed by the routing protocol layer. After a multicast device receives an IGMP packet:

  • By default, the multicast device does not check the Router-Alert option and sends the IGMP packet to the routing protocol layer, irrespective of whether the IGMP packet contains the Route-Alert option.

  • If the multicast device is configured to check the Router-Alert option, the multicast device sends the IGMP packet to the routing protocol layer only if the packet contains the Route-Alert option.

IGMP message transmit and receive ends must have the same Router-Alert option configuration on the same network segment. If the two ends do not have the same Router-Alert option configuration, change the configuration on one end.

You can perform configurations either globally or on an interface.

Procedure

  • Global configuration
    1. Run system-view

      The system view is displayed.

    2. Run igmp [ vpn-instance vpn-instance-name ]

      The IGMP view is displayed.

    3. Run require-router-alert

      The multicast device is configured to accept and process only IGMP packets with the Router-Alert option and discard those without the Router-Alert option.

    4. Run undo send-router-alert

      The device is configured to send IGMP packets without the Router-Alert option.

    5. Run commit

      The configuration is committed.

  • Interface-specific configuration
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run igmp require-router-alert

      The interface is configured to accept and process only IGMP packets with the Router-Alert option and discard those without the Router-Alert option.

    4. Run undo igmp send-router-alert

      The interface is configured to send IGMP packets without the Router-Alert option.

    5. Run commit

      The configuration is committed.

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