# protocols mpls-rsvp tunnels tunnel autoroute-announce relative-metric

Configures a metric that is relative to the IGP metric.

set protocols mpls-rsvp tunnels tunnel name autoroute-announce relative-metric -65535..65535
delete protocols mpls-rsvp tunnels tunnel name autoroute-announce relative-metric -65535..65535
show protocols mpls-rsvp tunnels tunnel name autoroute-announce relative-metric -65535..65535
name
The tunnel name.
-65535..65535
The value for a relative metric. The value can be from -65535 through 65535.

Configuration mode

``````
protocols {
mpls-rsvp {
tunnels  {
tunnel <name> {
autoroute-announce {
relative-metric <-65535..65535>
}
}
}
}
}
``````

Use this command to configure a metric that is relative to the IGP metric for the specified tunnel.

The relative-metric command is mutually exclusive with the absolute-metric command.

Use the set form of this command to configure a metric that is relative to the IGP metric.

Use the delete form of this command to delete the configuration of a metric that is relative to the IGP metric.

Use the show form of this command to display the configuration that sets a metric that is relative to the IGP metric.

## Example

The following example shows how to configure 3000 as the metric that is relative to the IGP metric to be used for the RSVP-TE tunnel named pe1-pe2 tunnel by the IGP for its shortest path calculations.

``````vyatta@R1# set protocols mpls-rsvp tunnels tunnel pe1-pe2 autoroute-announce relative-metric 3000
``````