An SR-TE LSP can be configured as a label switched path (LSP) using the existing CLI command hierarchy under the MPLS context and specifying the new sr-te LSP type.
config>router>mpls>lsp lsp-name | mpls-tp src-tunnel-num | sr-te
As for an RSVP LSP, the user can configure a primary path.
Use the following CLI syntax to associate an empty path or a path with strict or loose explicit hops with the primary paths of the SR-TE LSP:
config>router>mpls>path>hop hop-index ip-address {strict | loose}
— config>router>mpls>lsp>primary path-name