tunnel mpls autoroute metric

Syntax

tunnel mpls [ traffic-eng ] autoroute metric { absolute | relative } metricValue

no tunnel mpls [ traffic-eng ] autoroute metric

Release Information

Command introduced before JunosE Release 7.1.0.

Description

Specifies the tunnel metric. The value determines tunnel preference when there is more than one tunnel or native IP path to a tunnel endpoint. A lower value is preferred to a higher value. When you set up multiple tunnels, if the primary tunnel goes down, the existing tunnel with the lowest metric is used immediately. If you specify an absolute value from 1–2147483647, this value overrides the metric for the path provided by the IGP. If you specify a relative value from –10 to +10, this value is subtracted from (–) or added to (+) the metric for the path provided by the IGP. The no version restores the default value, relative 0, meaning that the tunnel metric is the IGP value.

Options

Mode

Interface Configuration, Tunnel Profile Configuration

Related Documentation