Configure TE-Metric for MPLS Interface

To configure TE-metric for a MPLS interface, you must perform the following steps.
  1. Configure the device.
    device# configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Configure the MPLS interface.
    device(config-router-mpls)# mpls-interface ethernet 0/1
  4. Enable LDP parameters.
    device(config-router-mpls-if-eth-0/1)# rsvp
  5. Set the te-metric value at the MPLS interface or leave it as a default value to use the igp-metric value of the te-links for CSPF computation (optional).
    device(config-router-mpls-if-eth-0/1-rsvp)# te-metric 5

Example

The following example show how to configure TE-metric for a MPLS interface. In this example, the te-metric is set to 5.

device# configure 
device(config)# router mpls
device(config-router-mpls)# mpls-interface ethernet 0/1
device(config-router-mpls-if-eth-0/1)# rsvp
device(config-router-mpls-if-eth-0/1-rsvp)# te-metric 5
Note

Note

By default, all LSPs use global configuration.