mpls te p2mp-template

Function

The mpls te p2mp-template command creates a P2MP tunnel template and displays the template view.

The undo mpls te p2mp-template command deletes a specific P2MP tunnel template.

By default, no P2MP tunnel template is created.

Format

mpls te p2mp-template template-name

undo mpls te p2mp-template template-name

Parameters

Parameter Description Value
template-name

Specifies the name of a P2MP tunnel template.

The name is a string of 1 to 31 case-sensitive characters. The name cannot contain spaces or start with an underscore (_).

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

Automatic P2MP TE tunnels can transmit services for next generation (NG) multicast VPN (MVPN) and multicast VPLS networks. In the MVPN or multicast VPLS scenario, NG MVPN signaling or multicast VPLS signaling triggers the establishment of mLDP P2MP LSPs.

An automatic P2MP TE tunnel does not have a tunnel interface on which tunnel attributes can be configured. Before you configure tunnel attributes, run the mpls te p2mp-template command to create a P2MP tunnel template. You can specify attributes in the template and reference the template when you deploy NG MVPN signaling or multicast VPLS. An automatic P2MP TE tunnel can be established using the attributes defined in the template.

Prerequisites

MPLS TE has been enabled globally using the mpls te command.

Precautions

To modify attributes of an automatic P2MP TE tunnel, modify the attributes in the P2MP tunnel template that is used to establish the tunnel.

Example

# Create a P2MP tunnel template named Template1 and enable the route and label record function in the template view.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te p2mp-te
[*HUAWEI-mpls] quit
[*HUAWEI] mpls te p2mp-template Template1
[*HUAWEI-te-p2mp-template-Template1] record-route label
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >