Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

OSPF cost setting

I have a site that is sending traffic out the FW instead of the DS3 link. I think it's because OSPF thinks that the firewall has a 100mb link while the DS3 will just have 45mb. If there a way for me to adjust the cost so that the DS3 link is preferred?

Thanks in advance.

Hall of Fame Super Silver

Re: OSPF cost setting

Hello Brent,

on the FE to the firewall use:

int f0/0

ip ospf cost 10

this should be enough with default settings FE cost is 1 and DS3 is 2.

to check the ip ospf costs


sh ip ospf int typex/y

Hope to help


Super Bronze

Re: OSPF cost setting

You might also try defining the bandwidth, with the bandwidth statement, to either be less than 45 Mbps (e.g. 40 Mbps) or whatever the bandwidth is on the other side of the firewall (assuming it's less than 45 Mbps). An advantage of using bandwidth, if you change the default Cisco OSPF costing, bandwidth will generate the correct proportion for the base bandwidth being used.