About this task
The user can configure the bypass LSP Class of Service (CoS) value using the
cos command. By default, the Cos parameter is un-configured. Cos parameter is a non-adaptive parameter and requires the bypass LSP to be in an administrative DOWN state during modification.
To configure the bypass LSP CoS parameter, complete the following steps.
Procedure
-
Enable the device for configuration.
-
Enable the MPLS router.
device(config)# router mpls
-
Configure the bypass LSP with the unique static bypass LSP name. In this example, the name is
my-bypass-lsp
.
device(config-router-mpls)# bypass-lsp my-bypass-lsp
-
Configure the Class of Service (Cos). In this example, the chosen value is five (5
).
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# cos 5
Example
The following example combines the steps above to configure a static bypass LSP with a unique bypass LSP of
my-bypass-lsp
and a CoS value of five (5
).
device>configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp my-bypass-lsp
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# cos 5