mld-snooping send-router-alert (VSI view)

Function

The mld-snooping send-router-alert command configures the device to add the Router-Alert option in the IP header of an MLD message sent to a specified VLAN/VSI.

The undo mld-snooping send-router-alert command configures the device not to add the Router-Alert option in the IP header of an MLD message sent to a specified VLAN/VSI.

By default, the device adds the Router-Alert option in the IP header of an MLD message sent to a VLAN/VSI.

Format

mld-snooping send-router-alert

undo mld-snooping send-router-alert

Parameters

None

Views

VSI-AUTO view, VSI-BD view, VSI-DEFAULT view, VSI-STATIC view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

Router-Alert is a mechanism used to identify protocol messages. Messages carrying the Router-Alert option are delivered to the routing protocol layer for processing.

By default, devices do not check whether messages carry the Router-Alert option for the sake of compatibility, and send all MLD messages to the upper layer for processing. To improve device performance, reduce costs, and ensure protocol security, run the undo mld-snooping send-router-alert command to configure the device not to add the Router-Alert option in the IP header of an MLD message sent to a specified VLAN/VSI.

Precautions

The

undo mld-snooping send-router-alert command fails to be run in a VLAN view in any of the following conditions:

  • The VLAN is bound to a VSI.

    The

    undo mld-snooping send-router-alert command fails to be run in a VSI view in the following condition:
  • The VSI is bound to a BD.

Example

# Configure a device to send MLD messages that do not contain the Router Alert option in the IP header to VSI vsi1.
<HUAWEI> system-view
[~HUAWEI] mld-snooping enable
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi1
[*HUAWEI-vsi-vsi1] pwsignal ldp
[*HUAWEI-vsi-vsi1-ldp] vsi-id 200
[*HUAWEI-vsi-vsi1-ldp] quit
[*HUAWEI-vsi-vsi1] undo mld-snooping send-router-alert
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >