Configuring bypass LSP CoS parameter

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.

  1. Enable the device for configuration.
    device>configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. 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
  4. 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

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