< Home

igmp-snooping send-router-alert

Function

The igmp-snooping send-router-alert command configures the switch to send IGMP messages with the Router-Alert option in the IP header to a VLAN.

The undo igmp-snooping send-router-alert command configures the switch to send IGMP messages without the Router-Alert option in the IP header to a VLAN.

By default, the switch sends IGMP messages with the Router-Alert option in the IP header.

Format

igmp-snooping send-router-alert

undo igmp-snooping send-router-alert

Parameters

None

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The Router-Alert option identifies the protocol messages that need to be processed by upper-layer routing protocols.

By default, the switch sends IGMP messages with the Router-Alert option. If some devices in the same VLAN as the switch can process only the IGMP messages without the Router-Alert option, use the undo igmp-snooping send-router-alert command to configure the switch to send IGMP messages without the Router-Alert option.

The switch adds the Router-Alert option only to locally originated IGMP messages and does not add this option to IGMP messages received from other devices.

Prerequisites

IGMP snooping has been enabled globally using the igmp-snooping enable (system view) command.

Precautions

If IGMP snooping is disabled in the specified VLAN, the configuration succeeds but does not take effect until IGMP snooping is enabled in the VLAN. To enable IGMP snooping in a VLAN, run the igmp-snooping enable (VLAN view) command.

Example

# Configure the switch to send IGMP messages that do not contain the Router-Alert option in the IP header to VLAN 3.

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