Assigns a metric to the LSP, which routing protocols can use to determine the relative preference among several LSPs towards a given destination.
All LSPs have a metric of 1.
MPLS LSP configuration mode
When multiple LSPs have the same destination LSR, and they have the same metric, the traffic load is shared among them.
Use the no form of the command to reset the default value.
MPLS is supported on the Extreme 8820, SLX 9740, SLX 9640, and SLX 9540 devices only.
The following example configures LSP to22 with a metric value of 20.
device(config)# router mpls device(config-router-mpls)# lsp to22 device(config-router-mpls-lsp-to22)# no enable device(config-router-mpls-lsp-to22)# to 10.1.1.2 device(config-router-mpls-lsp-to22)# from 10.1.1.1 device(config-router-mpls-lsp-to22)# metric 20 device(config-router-mpls-lsp-to22)# enable device(config-router-mpls-lsp-to22)#exit