You can configure the TE metric value at a specified MPLS interface level. Traffic engineering must to be enabled at the router policy level.
device# configure
device(config)# router mpls
device(config-router-mpls)# mpls-interface ethernet 0/1
device(config-mpls-if-eth-0/1)# rsvp
device(config-mpls-if-eth-0/1-rsvp)# te-metric 5
The following example shows the configuration to configure the TE-metric for an interface with a te-metric value of 5.
device# configure device(config)# router mpls device(config-mpls)# mpls-interface ethernet 0/1 device(config-mpls-if-eth-0/1)# rsvp device(config-mpls-if-eth-0/1-rsvp)# te-metric 5
Note
If the te-metric uses the default value or if the no form of the command is used, te-metric will be equal to igp-metric value in the MPLS-TE database.
The user can run the show mpls interface ethernet 0/1 command to view the configured value.