# 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="https://3072390383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkUz2C3GqnZcWhoVL6jfk%2Fuploads%2FAs66QF1crvamjbB78p58%2Fimage.png?alt=media&#x26;token=331643ed-1572-42f7-9725-6c68f4273abc" 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).
