Configuring bypass LSP priority values

The user can configure the bypass LSP setup and hold priority values by using the priority command. Only those backup paths with a priority less than or equal to the holding-priority of the bypass LSP are able to ride the bypass LSP.

To configure the bypass LSP priority values, complete the following steps.

  1. Enable the device foe 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 priority command. In this example, the set-up-priority is configured to six (6) and the hold-priority is set to four (4).
    device(config-router-mpls-bypass-lsp-my-bypass-lsp)# priority 6 4

The following example combines the steps above to configure a static bypass LSP with a unique bypass LSP of my-bypass-lsp and priority values of six (6) for the setup-priority and a value of four (4) for the hold-priority .

device>configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp my-bypass-lsp
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# priority 6 4