Go back one pageGo to the next page#Go to this book's Table of ContentsGo to this book's Index#


Configure the Cost of the Route

Define the Cost of the Route. Metrics in OSPF are normally based on cost. Cos is a number that normally reflects the line speed of the medium the router is attached.

CLI> define ospf interfaceMetric value

Parameter

Range of Values

Required Action

<IPAddress>

IPAddress

Enter the IPAddress of the OSPF unit you want to assign the metric value to.

<Value>

INTEGER (0..'FFFF' h)

Enter the value of the medium the router is attached. The default for this parameter is 3. For example, if the ethernet port of a router running at 10Mbs is configured for OSPF, the cost might be a value of 10.


Note

Note: Normally, the slower the connection speed the higher the cost. Each manufacturer provides a cost for the speed parameters for each type of connection. You can override the default value of 3 and change the cost to anything you want.


Example:

CLI> define ospf interfaceMetric value 11.0.0.1 10

CLI> define ospf interfaceMetric value 192.168.111.1 250

CLI> define ospf interfaceMetric value 192.168.111.9 100

Example of a cost route configuration.

Continue on to Add OSPF Neighbors and Virtual Interface (Optional)


Nortel Networks LogoContact us by email
Go back one pageGo to the next page#Go to this book's Table of ContentsGo to this book's Index