OSPF Cost question

Dilbert65Dilbert65 Member Posts: 73 ■■□□□□□□□□
I have a hub and spoke frame cloud setup. The clockrate is set to 56k.

I run "ip ospf int s0" and the cost is 64. Why is it 64 when it should be 1785 for a 56k line?

Comments

  • keenonkeenon Member Posts: 1,922 ■■■■□□□□□□
    default for T1
    Become the stainless steel sharp knife in a drawer full of rusty spoons
  • networker050184networker050184 Mod Posts: 11,962 Mod
    Dilbert65 wrote: »
    I have a hub and spoke frame cloud setup. The clockrate is set to 56k.

    I run "ip ospf int s0" and the cost is 64. Why is it 64 when it should be 1785 for a 56k line?

    The cost uses the bandwidth configured on an interface. Use the show interface x/x command to see what the value is. To adjust it use the interface bandwidth command.
    An expert is a man who has made all the mistakes which can be made.
  • Dilbert65Dilbert65 Member Posts: 73 ■■□□□□□□□□
    So ospf does not really look at the actual speed of the link, just what its default is?

    IE fast0/0 has been set for "speed 10" , ospf still "sees" it as cost:1
  • networker050184networker050184 Mod Posts: 11,962 Mod
    It uses the interface bandwidth which is set with the bandwidth command. If you don't manually set the bandwidth it uses the default of the interface.
    An expert is a man who has made all the mistakes which can be made.
  • Dilbert65Dilbert65 Member Posts: 73 ■■□□□□□□□□
    Ah ok I get it. I noticed that in my CCNA studies but did not worry about it. Starting my BSCI labs and it started bugging me.

    Thank you for the information.
Sign In or Register to comment.