07-10-2013 08:33 AM - edited 03-07-2019 02:19 PM
hi people , i need to undertand how OSPF calculates the cost as its metric, i know the the formula to calculate is 100000000/interface bandwidth, but how can we convert the interface bandwidth which is in KBIT to BPS ?
please let me know the detailed procedure to accomplish this .
also for the serial Links i have noticed that the interface bandwidth is 1544 kbit or 128 kbit , also for the fast ethernet or ethernet interfaces the badwidth seems to be 100000 kbit
please specify the calculation of cost for these values
kindly let me know that ,
also kindly suggest me a Topology ( OSPF network diagram ) where i can get to see DR and BDR's as i believe it only happens on broadcast and NBMA
07-10-2013 09:06 AM
Default is 100Mbps/Interface Bandwidth
56-kbps serial link—Default cost is 1785
•64-kbps serial link—Default cost is 1562
•T1 (1.544-Mbps serial link)—Default cost is 64
•E1 (2.048-Mbps serial link)—Default cost is 48
•4-Mbps Token Ring—Default cost is 25
•Ethernet—Default cost is 10
•FastEthernet—Default cost is 1
•16-Mbps Token Ring—Default cost is 6
•FDDI—Default cost is 1
•X25—Default cost is 5208
•Asynchronous—Default cost is 10,000
•ATM— Default cost is 1
You can use DR and BDR on any link topology if desired, simply change the ospf network type under the interface.
07-10-2013 09:28 AM
i already know that ..what i need to know is how these are calculated using the formula
07-10-2013 09:36 AM
Hi Atif,
First of all to let u know your query is not clear and next to it there is no term KBIT in Cisco.
bandwidth which is in KBIT to BPS
07-10-2013 10:22 AM
please have a look and let me know
07-10-2013 10:30 AM
So, 100Mbps/1.544Mbps = ?
If you have a 128Kbps connection, 100Mbps/.128Mbps =?
That's why I provided the table. A quick math will given you the answer.
07-10-2013 10:44 AM
Not sure exactly what your question is but:
8=Bits=1 Byte
1024 Byte=1 Kilobyte
1024 Kilobyte=1 Megabyte
So, in your case, the interface is 1544 Kilobyte which is equal to about 1.5 Megabyte.
and the OSPF cost is 64. as Edison already answerd that.
HTH
07-10-2013 11:14 AM
Although the question has already been answered perfectly, I'd like to add two details:
Regards
Rolf
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide