The mpls te p2p-template command creates a P2P TE tunnel template and displays the template view.
The undo mpls te p2p-template command deletes a specific P2P TE tunnel template.
By default, no P2P TE tunnel template is created.
Usage Scenario
Before you create P2P TE tunnels in a batch, create a P2P TE tunnel template using the mpls te p2p-template command and configure parameters, such as bandwidth and the path limit, in the template. Then run the mpls te auto-primary-tunnel command to reference this template. The device can automatically use the parameters configured in the P2P TE tunnel template to create P2P TE tunnels in a batch.
Prerequisites
MPLS TE has been enabled globally using the mpls te command.
Precautions
To modify attributes of an automatic P2P TE tunnel, modify the attributes in the P2P TE tunnel template that is used to establish the tunnel.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] mpls te p2p-template Template1 [*HUAWEI-te-p2p-template-Template1] record-route label