# Default metric

Load **isis.cfg**

```
#IOS-XE
config replace flash:isis.cfg

#IOS-XR
configure
load bootflash:isis.cfg
commit replace
y
```

Configure all routers so that the default metric is 100

## Answer <a href="#cdeb2ba2-7b6b-4f14-9adf-191ca7536b1e" id="cdeb2ba2-7b6b-4f14-9adf-191ca7536b1e"></a>

To use a default metric of 100, we must use wide metrics. First we enable wide metrics everywhere. Then we set the default metric to 100.

```
#IOS-XE
router isis
 metric-style wide
 metric 100

#IOS-XR
router isis 1
 add ipv4
  metric-style wide
  metric 100
```

## Verification <a href="#id-2200b2fa-2bfd-4350-9561-cd58cc0e350a" id="id-2200b2fa-2bfd-4350-9561-cd58cc0e350a"></a>

Inspect the ISIS topology and see that the default metric has gone from 10 to 100:

<div align="left"><figure><img src="/files/ZzMKzTzRb3rDc8GnUMgb" alt=""><figcaption></figcaption></figure></div>

The **metric** command under the ISIS router process dictates the default metric for all interfaces. Alternatively, you can manually configure the metric under each interface individually. (Or use an apply-group to apply the metric to all Gigabit.\* interfaces).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ccie-sp.gitbook.io/ccie-spv5.1-labs/labs/isis/default-metric.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
