< Home

send-router-alert (IGMP)

Function

The send-router-alert command configures the switch to send IGMP messages with the Router-Alert option in IP headers.

The undo send-router-alert command configures the switch to send IGMP messages without the Router-Alert option.

By default, IGMP messages sent by the switch contain the Router-Alert option.

Format

send-router-alert

undo send-router-alert

Parameters

None

Views

IGMP view of the public network instance, IGMP view of a VPN instance

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, IGMP messages sent by the switch contain the Router-Alert option in their IP headers. If the switch needs to communicate with a device that does not support the Router-Alert option, run the undo send-router-alert command to configure the switch to send IGMP messages without the Router-Alert option. The send-router-alert command is usually used together with the require-router-alert command.

Prerequisites

IP multicast routing has been enabled using the multicast routing-enable command.

Precautions

This command has the same function as the igmp send-router-alert command used in the interface view. The configuration in the IGMP view is globally valid, whereas the configuration in the interface view takes effect only for the specified interface. The configuration in the interface view takes precedence over the configuration in the IGMP view. The configuration in the IGMP view is used only when no configuration is performed in the interface view.

Example

# In the IGMP view, configure the switch to send IGMP messages without the Router-Alert option.

<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] igmp
[HUAWEI-igmp] undo send-router-alert
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >