The mpls te record-route command enables the route and label record function for a tunnel.
The undo mpls te record-route command restores the default setting.
This command varies in transport and router modes. For detailed differences, see Differences Between Commands in Transport and Router Modes. This topic describes the command configuration in router mode.
By default, the route and label record is disabled.
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 the mpls te record-route 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.
The route record function is automatically enabled in one of the following situations:
Configuration Impact
The mpls te record-route command enables the ingress to collect route and label information on a tunnel.
The ingress uses the collected information to determine the path for a hot-standby or FRR bypass tunnel.
Follow-up Procedure
The display mpls te tunnel path command can be run to display routes and labels associated with each hop along a TE tunnel.
Precautions
The undo mpls te record-route command must be run before the mpls te signal-protocol command is run.