The user can assign a metric to the LSP, which can be used by routing protocols to determine the relative preference among several LSPs towards a given destination.
device# configure
device(config)# router mpls
device(config-rouoter-mpls)# lsp tunnel1
device(config-router-mpls-lsp-tunnel1)# metric 5
the following example shows assigning a metric value of 5 to LSP tunnel1.
device# configure device(config)# router mpls device(config-router-mpls)# lsp tunnel1 device(config-router-mpls-lsp-tunnel1)# metric 5
By default, all LSPs have a metric of one. A lower metric is preferred over a higher one. When multiple LSPs have the same destination LSR, and they have the same metric, the traffic load is shared among them.