mpls te static-sr-mpls
Use mpls te static-sr-mpls to bind a static SRLSP to an MPLS TE tunnel interface.
Use undo mpls te static-sr-mpls to unbind a static SRLSP from an MPLS TE tunnel interface.
Syntax
mpls te static-sr-mpls lsp-name [ backup ]
undo mpls te static-sr-mpls lsp-name
Default
An MPLS TE tunnel interface does not use any static SRLSPs.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
lsp-name: Specifies a static SRLSP by its name, a case-sensitive string of 1 to 15 characters. The specified static SRLSP must be already created by using the static-sr-mpls lsp command.
backup: Specifies the backup static SRLSP. If you do not specify this keyword, this command specifies the main static SRLSP.
Usage guidelines
This command takes effect only if you have configured the mpls te signaling static command in tunnel interface view.
Execute this command only on the ingress node of a static SRLSP.
If you execute the mpls te static-sr-mpls and mpls te static-cr-lsp commands on a device, only the mpls te static-cr-lsp command takes effect. For the mpls te static-sr-mpls command to take effect, execute the undo mpls te static-cr-lsp command.
Examples
# Bind static SRLSP static-sr-3 to MPLS TE tunnel interface 0.
<Sysname> system-view [Sysname] interface tunnel 0 mode mpls-te [Sysname-Tunnel0] mpls te static-sr-mpls static-sr-3
Related commands
display mpls te tunnel-interface
mpls te signaling
static-sr-mpls lsp