Changing the metric added to advertised routes for an IS-IS interface

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.

About this task

Procedure

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the interface ethernet command and specify an interface.
    device(config)# interface ethernet 1/2
    
  3. Enter the isis metric command with the level-1 parameter and specify a value to change the metric for the interface, specifying Level 1 packets.
    device(conf-if-eth-1/2)# isis metric 38 level-1 
    

Example

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