You can create a CR-LSP by using the following methods:
Creating a CR-LSP without using a CR-LSP attribute template
Creating a CR-LSP by using a CR-LSP attribute template
It is recommended that a CR-LSP attribute template be used to set up a CR-LSP because this method has the following advantages:
A CR-LSP attribute template can greatly simplify the configurations of CR-LSPs.
A maximum of three CR-LSP attribute templates can be created for a hot-standby CR-LSP or an ordinary backup CR-LSP. You can set up a hot-standby CR-LSP or an ordinary backup CR-LSP with different path options. (Among the three attribute templates, the template with the smallest sequence number is preferred. If the setup fails, the template with a greater sequence number is used.)
If configurations of a CR-LSP attribute template are modified, configurations of the CR-LSPs established by using the CR-LSP attribute template are automatically updated, which makes the configurations of CR-LSPs more flexible.
The preceding two methods can be used together. If the TE attribute configured in the tunnel interface view and the TE attribute configured through a CR-LSP attribute template coexist, the former takes precedence over the latter.
Configuring a CR-LSP Attribute Template
Steps 3 to 10 are optional. You can perform one or more of them as required.
Setting Up a CR-LSP by Using a CR-LSP Attribute Template
You can use a CR-LSP attribute template to set up the primary CR-LSP, hot-standby CR-LSP, and ordinary backup CR-LSP.