Modifying OSPF Cost Metrics


Router(config)#int s 0/0

 

Router(config-if)#bandwidth 128

By changing the bandwidth, OSPF will recalculate cost of link

or

 

Router(config-if)#ip ospf cost 1564

Changes the cost to a value of 1564


Note:

The cost of a link is determined by dividing the reference bandwidth by the interface bandwidth.

The default reference bandwidth is 108.

Bandwidth is a number between 110,000,000 and is measured in kilobits.

Cost is a number between 165,535. Cost has no unit of measurementit is just a number.


Tip:

For OSPF to calculate routes properly, all interfaces connected to the same link must agree on the cost of that link. Therefore, if you change the reference bandwidth on one router, you must change it to match on all routers in that area.





CCNA Self-Study(c) CCNA Portable Command Guide
CCNA Portable Command Guide
ISBN: 1587201585
EAN: 2147483647
Year: 2006
Pages: 261
Authors: Scott Empson

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net