The mpls te record-route command enables the system to record routes and labels during tunnel establishment.
The undo mpls te record-route command configures the system not to record routes and labels during tunnel establishment.
By default, the system does not record routes and labels during tunnel establishment.
Parameter | Description | Value |
---|---|---|
label | Indicates that a label is also recorded when the system records a route. | - |
Usage Scenario
If an MPLS TE tunnel is not established over an explicit path, the system does not record detailed path information. In this case, to view detailed path information about the tunnel, run this command on a tunnel interface. After the configuration, RROs are carried in Path and Resv messages and record the IP address of each hop along the tunnel. In addition, the keyword label can be configured to record the label of each hop along the tunnel.
Precautions
After the mpls te record-route command is configured and the MPLS TE tunnel is established, the display mpls te tunnel path command can be run to display detailed path information about the tunnel.
Do not run the mpls te record-route command on a large-scale network. On such a network, a large number of hops exist along a tunnel. Running this command allows the Path and Resv messages to carry RROs that record the IP address of each hop along the tunnel. As a result, the Path or Resv message will be oversized, lowering the system performance.
After the mpls te fast-reroute, mpls te backup, or mpls te bypass-tunnel command has been configured on a tunnel interface, the route record function is automatically enabled.