Command:

isis metric


Mode:

Router(config-if)#


Syntax:

isis metric default-metric [delay-metric] [expense-metric] [error-metric] [level-1 | level-2]
no isis metric [default-metric] [delay-metric] [expense-metric] [error-metric] [level-1 | level-2]

 

Syntax Description:

default-metric Metric assigned to the link and used to calculate the cost from each other router via the links in the network to other destinations. You can configure this metric for Level 1 or Level 2 routing. The range is from 0 to 63. The default value is 10.
delay-metric (optional) Metric assigned to represent the transmit delay of a link.
expense-metric (optional) Metric assigned to represent the monetary cost of a link.
error-metric (optional) Metric assigned to represent the residual error probability of a link.
level-1 (Optional) This metric should be used only in the shortest path first (SPF) calculation for Level 1 (intra-area) routing.
level-2 (Optional) This metric should be used only in the SPF calculation for Level 2 (interarea) routing.

 

Command Description:

To configure the metric for an interface, use the isis metric command in interface configuration mode. To restore the default metric value, use the no form of this command.

The default is level-1 and level-2

Specifying the level-1 or level-2 keyword resets the metric only for Level 1 or Level 2 routing, respectively.

We highly recommend that you configure metrics on all interfaces. If you do not do so, the IS-IS metrics are similar to hop count metrics.


Example:

The following example configures serial interface 0 for a default link-state metric cost of 15 for Level 1:

Router(config)# interface serial 0
Router(config-if)# isis metric 15 level-1


Misconceptions:

None


Related Commands:

None

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)