Configuring a bypass LSP CSPF tie breaking option

A bypass LSP CSPF computation can use tie breaking options when there are multiple equal cost paths with equal hops. The tie breaking option can be random, most fill, or least fill. The use can configure these options using the tie-breaking command. Consider the random option as the default option. This parameter is an adaptive parameter.
  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 of my-bypass-lsp .
    device(config-router-mpls)# bypass-lsp my-bypass-lsp
  4. Configure the tie-breaking command with one of the following choices.
    • Configure the tie-breaking command with the random option.
      device(config-router-mpls-bypass-lsp-my-bypass-lsp)# tie-breaking random
    • Configure the tie-breaking command with the most-fill option.
      device(config-router-mpls-bypass-lsp-my-bypass-lsp)# tie-breaking most-fill
    • Configure the tie-breaking command with the least-fill option.
      device(config-router-mpls-bypass-lsp-my-bypass-lsp)# tie-breaking least-fill
The following example combines the steps above to configure a static bypass LSP with a unique bypass LSP name of my-bypass-lsp and a choice of three different tie-breaking command options.
device>configure
device(config)# router mpls
device(config-router-mpls)# bypass-lsp my-bypass-lsp
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# tie-breaking random
-or-
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# tie-breaking most-fill
-or-
device(config-router-mpls-bypass-lsp-my-bypass-lsp)# tie-breaking least-fill