# isis metric

#### Syntax

isis metric defaultMetric [ level-1 | level-2 ]

no isis metric [ defaultMetric | level-1 | level-2 ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Configures the metric (cost) for the interface to links at the specified level. If no level is specified, the cost is applied to both level 1 and level 2 links. The no version restores the default metric value.

#### Options

- defaultMetric—Metric used for the redistributed route; a number in the range 0–63 if the router is configured with the metric-style narrow command; a number in the range 0–16777215 if the router is configured with the metric-style transition or metric-style wide command; default value is 10
- level-1—Applies metric to level 1 links
- level-2—Applies metric to level 2 links

#### Mode

Interface Configuration, Subinterface Configuration