Configure TE-metric for an Interface

You can configure the TE metric value at a specified MPLS interface level. Traffic engineering must to be enabled at the router policy level.

  1. Enable the device and configure the terminal to the global configuration.
    device# configure 
  2. Enable the MPLS router
    device(config)# router mpls
  3. Configure the MPLS interface level.
    device(config-router-mpls)# mpls-interface ethernet 0/1
  4. Enable RSVP parameters.
    device(config-mpls-if-eth-0/1)# rsvp
  5. Configure the te-metric value to 5.
    device(config-mpls-if-eth-0/1-rsvp)# te-metric 5

Example

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

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.