MPLS and RSVP-TE
184
MPLS Guide
© 2022 Nokia.
Use subject to Terms available at: www.nokia.com
3HE 18686 AAAB TQZZA
3.24.2.1.6 LSP and LSP Template Commands
lsp
Syntax [no] lsp lsp-name [bypass-only | sr-te]
Context config>router>mpls
Description This command creates an LSP that is signaled dynamically by the 7705 SAR.
When the LSP is created, the egress router must be specified using the to command and at
least one primary or secondary path must be specified. All other statements under the LSP
hierarchy are optional.
LSPs are created in the administratively down (shutdown) state.
The no form of this command deletes the LSP. All configuration information associated with
this LSP is lost. The LSP must be administratively shut down and unbound from all SDPs
before it can be deleted.
Default n/a
Parameters lsp-name — specifies the name that identifies the LSP. The LSP name can be up to 32
characters long and must be unique.
bypass-only — defines an LSP as a manual bypass LSP exclusively. When a PATH
message for a new LSP requests bypass protection, the PLR first checks if a manual
bypass tunnel satisfying the path constraints exists. If one is found, the 7705 SAR
selects it. If no manual bypass tunnel is found, the 7705 SAR dynamically signals a
bypass LSP as the default behavior. The CLI for this feature includes a command
that provides the user with the option to disable dynamic bypass creation on a per-
node basis.
sr-te — defines an LSP as a segment routing LSP exclusively
lsp-template
Syntax lsp-template template-name
lsp-template template-name mesh-p2p
lsp-template template-name one-hop-p2p
no lsp-template template-name
Context config>router>mpls
Description This command creates an LSP template that is referenced when dynamic LSP creation is
required. The LSP template type, mesh-p2p or one-hop-p2p, must be specified when the
template is first created.