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