root (VSI-inclusive view)

Function

The root command specifies a device as the root node for a P2MP tunnel on a multicast VPLS network and displays the VSI-Inclusive-Root view.

The undo root command restores the default configuration.

By default, no device is specified as the root node on a multicast VPLS network.

Format

root

undo root

Parameters

None

Views

VSI-inclusive view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

On a multicast VPLS network, the root node is the ingress of a P2MP MPLS tunnel. A P2MP tunnel can have only one root node but can have multiple leaf nodes. To specify the root node and enter the VSI-Inclusive-Root view so that you can configure on the leaf node, run the root command.

Prerequisites

The VSI-Inclusive view has been created and has been displayed using the inclusive-provider-tunnel command.

Follow-up Procedure

P2MP tunnels are classified as mLDP P2MP tunnels or P2MP TE tunnels. After the root node is specified, you can configure an mLDP P2MP tunnel or P2MP TE tunnel.

Precautions

Running the undo root command deletes the root node configuration and all configurations in the VSI-Inclusive-Root view.

Example

# Specify the device as the root node for a P2MP tunnel on a multicast VPLS network and display the VSI-Inclusive-Root view.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi1
[*HUAWEI-vsi-vsi1] bgp-ad
[*HUAWEI-vsi-vsi1-bgpad] vpls-id 1:1
[*HUAWEI-vsi-vsi1-bgpad] vpn-target 1:1 import-extcommunity
[*HUAWEI-vsi-vsi1-bgpad] vpn-target 1:1 export-extcommunity
[*HUAWEI-vsi-vsi1-bgpad] quit
[*HUAWEI-vsi-vsi1] inclusive-provider-tunnel
[*HUAWEI-vsi1-inclusive] root
[*HUAWEI-vsi1-inclusive-root]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >