- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-18-2020 05:04 PM
Hi
Got BGP providing DGW and I have a static 0.0.0.0/0 with metric 240 so its last resort route
but
VIRTUAL ROUTER: vr_default (id 2)
==========
destination nexthop metric flags age interface next-AS
0.0.0.0/0 0.0.0.0 19 ~
0.0.0.0/0 202.74.32.69 ?B 612028 ASXXXX
0.0.0.0/0 202.74.32.71 240 A S ae3.10
for some reason the static is active over the BGP route ?
can't find a KB on how routing decides !
Support - well nearly 2 weeks in and the person doesn't understand ..
09-21-2020 12:52 PM
The metric will only be used when you have routes with the same protocol. So 2 statics, the one with the lower metric will be preferred.
For routes to the same destination, static will always be preferred over BGP as long as you have the default administrative distance configured. Administrative distance is what controls which routing protocol that gets used when the destinations are the same.
09-21-2020 12:52 PM
The metric will only be used when you have routes with the same protocol. So 2 statics, the one with the lower metric will be preferred.
For routes to the same destination, static will always be preferred over BGP as long as you have the default administrative distance configured. Administrative distance is what controls which routing protocol that gets used when the destinations are the same.
09-21-2020 02:07 PM - edited 09-21-2020 02:09 PM
Thats it i new i had forgotten something !
Where can i see admin dist - can't see it in the gui. I can see it where I set static09-21-2020 02:54 PM
It's on the main tab of the virtual router on the right side.
09-21-2020 03:59 PM
Yes, i wasn't clear though. when i look at the runing stats for the vrtr and look at the route tab and look at routes - you can't see the admin dist there
or the cli , when i did a show route with detail it should show that so I don't have to guess / remember.
Thanks
A
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!