root-ip (VSI-inclusive-root-mLDP-P2MP view)

Function

The root-ip command configures an IP address for the root node of an mLDP P2MP tunnel.

The undo root-ip command deletes the IP address of the root node of an mLDP P2MP tunnel.

By default, no IP address is configured for the root node of an mLDP P2MP tunnel.

Format

root-ip ip-address

undo root-ip

Parameters

Parameter Description Value
ip-address

Specifies an IP address for the root node of an mLDP P2MP tunnel.

The value is in dotted decimal notation.

Views

VSI-inclusive-root-mLDP-P2MP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

After the root node is specified for an mLDP P2MP tunnel on a multicast VPLS network, run the root-ip command to configure an IP address for the root node. This IP address can be used as the destination address of leaf nodes so that the root node and leaf nodes can communicate.

Prerequisites

The tunnel type has been specified as mLDP P2MP, and the VSI-Inclusive-Root-mLDP-P2MP view has been displayed using the mldp p2mp command.

Precautions

If the root-ip command is run more than once, the latest configuration overrides the previous ones.

Example

# Configure IP address 2.2.2.2 for the root node on an mLDP P2MP tunnel in the VSI named vsi1.
<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] mldp p2mp
[*HUAWEI-vsi1-inclusive-root-mldpp2mp] root-ip 2.2.2.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >