05-30-2007 11:03 PM - edited 03-03-2019 05:14 PM
what the below command do under Tunnel interface
ip ospf cost 35
05-30-2007 11:10 PM
Hi
Instead of leaving OSPF to calculate the cost based on the bandwidth defined under the tunnel interface you are manually enforcing the ospf cost under the interface so that ospf process can use the same..
Can you also try giving show ip ospf interface .. the output of this command will reveal more facts on how the routing has been designed over there in your place..
Do refer this link for more info on the same..
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124tcr/tirp_r/rteospht.htm#wp1131618
regds
05-30-2007 11:23 PM
Hi ,
To explicitly specify the cost of sending a packet on an interface, use the ip ospf cost command in interface configuration mode
You can set the metric manually using this command, if you need to change the default. Using the bandwidth command changes the link cost as long as this command is not used.
The link-state metric is advertised as the link cost in the router link advertisement. We do not support type of service (ToS), so you can assign only one cost per interface.
In general, the path cost is calculated using the following formula:
10 to the power 8 / bandwidth
Using this formula, the default path costs were calculated as noted in the following list. If these values do not suit your network, you can use your own method of calculating path costs.
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
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
Examples
The following example sets the interface cost value to 65:
ip ospf cost 65
Thanks,
Satish
05-31-2007 12:04 AM
To put it simple, u r manualy defining cost on interface for OSPF process to take this cost for calculating aggregate cost to destination.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: