01-28-2019 02:43 PM
What traffic does the interface command ip ospf cost ##. Traffic incoming to the interface or outgoing of the interface when a router is connected to two ABR routers. Switch X is connected to two ABR switches A & B. IP OSPF cost when configured on interface connected to A, i can see incoming traffic increased but output rate is zero
01-28-2019 03:24 PM
Hello
ospf interface cost is only locally significant , So it wont influence its neighboring ospf peer adjacency return path for that to happen you need to apply the costing on both ends of the peer
01-28-2019 08:47 PM
Its easy to understand this concept.
Take an example of 4 routers connected in diamond shape.
R1--------------b-R2 -a------------------R3 // a,b,c,d are the interface name like fa0/0 or fa0/1
| |
|---------------c--R4--d-----------------|
Running ospf in area 0.
R3 has 3.3.3.3 and R1 has 1.1.1.1 in the loopback.
If i am going to trace the path, for example, its taking path via R2 with no changes in cost.
If I configure "ip ospf cost 100" inside interface a and clear the ospf process from R1 the path will change to R4.
If I configure "ip ospf cost 100" inside interface b and clear the ospf process from R1 the path will not have any change.
Its just matter how am learning the route from R3. as the Dataplane and control plane works in opposite direction.
When I get the 3.3.3.3 route from R3 it will take the "a" cost not the "b" cost.
01-28-2019 08:48 PM
Can someone tell me why my traffic, takes one path and how its deciding the path too.
01-29-2019 12:10 AM
Its long explanation how this is decides the paths. but in short below URL help you understand better.
https://blog.ine.com/2010/05/14/traffic-engineering-challenge
01-29-2019 05:54 AM
01-29-2019 08:27 AM
Thank you all..and i agree with you, but may be i did not describe my complete problem too.
I having exact issue as described here..
https://community.cisco.com/t5/routing/ospf-problem-with-two-abr/td-p/2086740
01-29-2019 12:12 PM
Hi,
This command is locally significant and it will increase ospf cost (metric) to the particular interface and it will directly putt effect on outgoing traffic from that interface.
Regards,
Deepak Kumar
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