The user can specify a user-defined path or no path at all. Once the LSP is enabled, the ingress LER attempts to signal the other LSRs in the path so that resources can be allocated to the LSP. When the user does not specify a primary path, the path used in the LSP is the shortest path to the egress LER, as determined from standard IP routing methods, or CSPF when it is enabled.
In the following example, to specify the sf_to_sj path as the primary path for LSP tunnel1, complete the following steps.device# configure
device(config)# router mpls
device(config-router-mpls)# lsp tunnel1
device(config-router-mpls-lsp-tunnel1)# primary-path sf_to_sj
The following example configures the primary path as sf_to_sj for LSP tunnel1.
device# configure device(config)# router mpls device(config-router-mpls)# lsp tunnel1 device(config-router-mpls-lsp-tunnel1)# primary-path sf_to_sj