Constrained Shortest Path First (CSPF) may calculate multiple, equal-cost paths to the egress label Edge Router (LER). When this happens, the device chooses the path whose final node is the physical address of the destination interface. When more than one path fits this description, by default, the device chooses the path with the fewest hops. When multiple paths have this number of hops, the device chooses one of these paths at random. The user can optionally configure the device to choose the path that has either the highest available bandwidth or the lowest available bandwidth.
For example, complete the following steps for CSPF to select the path with the highest available bandwidth when choosing among equal-cost paths calculated for LSP tunnel1.
device# configure
device(config)# router mpls
device(config-router-mpls)# lsp tunnel1
device(config-router-mpls-lsp-tunnel1)# tie-breaking least-fill
The least-fill parameter causes CSPF to choose the path with the highest available bandwidth (that is, the path with the least utilized links).
The following example causes CSPF to select the path with the highest available bandwidth when choosing among equal-cost paths calculated for LSP tunnel1.
device# configure terminal device(config)# router mpls device(config-router-mpls)# lsp tunnel1 device(config-router-mpls-lsp-tunnel1)# tie-breaking least-fill