record-route (MPLS TE P2MP template view)

Function

The record-route command enables the route and label record function in the P2MP tunnel template view.

The undo record-route command disables the route and label record function in the P2MP tunnel template view.

By default, the route and label record function is disabled in the P2MP tunnel template.

Format

record-route

record-route label

undo record-route

Parameters

Parameter Description Value
label

Enables the label record function.

-

Views

MPLS TE P2MP template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

Before you view detailed path information on an automatic P2MP TE tunnel, run the record-route command in the P2MP tunnel template that is referenced to establish the automatic P2MP TE tunnel. This allows RSVP messages to record IP addresses of all hops. If label is configured in the record-route command, label values on all hops are also recorded.

Prerequisites

A P2MP tunnel template has been configured using the mpls te p2mp-template command.

Follow-up Procedure

After the record-route command is run, run the display mpls te p2mp tunnel path command to view routes and labels on all nodes along the automatic P2MP TE tunnel.

Precautions

The record-route command is not recommended for a large P2MP network. This is because device performance deteriorates when RSVP messages record IP addresses of all hops on the large P2MP network.

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 >