When a device originates an IS-IS route or calculates a route, it adds a metric (cost) to the route. Each IS-IS interface has a separate metric value. The following task changes the IS-IS metric for an IS-IS Ethernet interface.
device# configure terminal
device(config)# interface ethernet 1/2
device(conf-if-eth-1/2)# isis metric 38 level-1
The following example changes the metric for an IS-IS Ethernet interface to 38, specifying Level 1 packets. .
device# configure terminal device(config)# interface ethernet 1/2 device(conf-if-eth-1/2)# isis metric 38 level-1