Routing Selection Rule with Mixed Dynamic and Static Routing
Hi teams,
I am currently considering adding a non-preferred route for return traffic to make it follow an atypical path. Could you please explain the criteria for selecting routing preference when dynamic and static routing are mixed?
My understanding is as follows, but please correct me if I'm wrong:
Longest match
- Distance Value
- Priority Value
Specifically, I am considering updating the routing table as follows:
I am concerned about whether the BGP metric value might affect the route selection when BGP and static routes are mixed.
# get router info routing-table all
B* 0.0.0.0/0 [20/100000] via XX , [1/0]
S  0.0.0.0/0 [20/0] via XX,port1 [100/0]
S  0.0.0.0/0 [20/0] via XX,port3 [100/0]
Thank you
Kenji
