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

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

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

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).

Last updated