p2mp dynamic

Function

The p2mp dynamic command creates a P2MP TE tunnel of a specified type.

The undo p2mp dynamic command deletes a P2MP TE tunnel.

By default, P2MP tunnels are not created.

Format

p2mp dynamic

undo p2mp dynamic

Parameters

Parameter Description Value
dynamic

Creates an automatic P2MP TE tunnel.

-

Views

VSI-inclusive-root-MPLS-TE view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

On multicast VPLS networks, P2MP TE tunnels are classified as automatic or static P2MP TE tunnels:

  • To configure an automatic P2MP TE tunnel, run the p2mp dynamic command.

Prerequisites

  • The tunnel type has been specified as P2MP TE, and the VSI-Inclusive-Root-MPLSTE view is displayed using the mpls-te command.
  • A P2MP tunnel template has been created using the mpls te p2mp-template command before the static P2MP TE tunnels are configured.

Precautions

Static P2MP TE tunnels can reference a TE template only after the TE template is configured.

Example

# Create an automatic P2MP TE tunnel for 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 2:2 import-extcommunity
[*HUAWEI-vsi-vsi1-bgpad] vpn-target 2:2 export-extcommunity
[*HUAWEI-vsi-vsi1-bgpad] quit
[*HUAWEI-vsi-vsi1] inclusive-provider-tunnel
[*HUAWEI-vsi1-inclusive] root
[*HUAWEI-vsi1-inclusive-root] mpls-te
[*HUAWEI-vsi1-inclusive-root-mplste] p2mp dynamic
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >