“We Love Oranges AS Oranges Mean Pure Refreshment”
W Weight (Highest)
L LOCAL_PREF (Highest)
O Originate (local)
AS AS_PATH (shortest)
O ORIGIN Code (IGP > EGP > Incomplete)
M MED (lowest)
P Paths (External > Internal)
R RID (lowest)
The good answer is:
Weight-Local pref-Aspath-Origin-M
N = next hop reachability
W = weight, bigger is better
L = local preference, bigger is better
L = locally injected preferred over BGP learned (if we have a c
A = AS path length, shorter is better
O = origin, (igp is better than egp is better than incomplete)
M = MED, lower is better
N = neighbor type, ebgp better than ibgp
I = IGP metric to BGP next-hop, lower is better
Locally injected means that the router itself is the originator of the route, by netwok keyword, or aggregation, or redistribution of another protocol.
Origin focuses on the real origin of this route,:
0 IGP – Network Layer Reachability Information
is interior to the originating AS
1 EGP – Network Layer Reachability Information
learned via the EGP protocol [RFC904]
2 INCOMPLETE – Network Layer Reachability
Information learned by some other means
I think the question is refering to the step when BGP checks if the prefix was originated inside the local AS or not. Origin of route is probably not the same as Origin code, which comes after AS Path.
Maksym is right:
In order to be candidates for multipath, paths to the same destination need to have these characteristics equal to the best-path characteristics:
Weight
Local preference
AS-PATH length
Origin
MED
one spanglish nemo
We love LIMONES aside oranges means NECTAR injection. jajaja
For me, the best way to memorize is:
“We Love Oranges AS Oranges Mean Pure Refreshment”
W Weight (Highest)
L LOCAL_PREF (Highest)
O Originate (local)
AS AS_PATH (shortest)
O ORIGIN Code (IGP > EGP > Incomplete)
M MED (lowest)
P Paths (External > Internal)
R RID (lowest)
The good answer is:
Weight-Local pref-Aspath-Origin-M
N = next hop reachability
W = weight, bigger is better
L = local preference, bigger is better
L = locally injected preferred over BGP learned (if we have a c
A = AS path length, shorter is better
O = origin, (igp is better than egp is better than incomplete)
M = MED, lower is better
N = neighbor type, ebgp better than ibgp
I = IGP metric to BGP next-hop, lower is better
Locally injected means that the router itself is the originator of the route, by netwok keyword, or aggregation, or redistribution of another protocol.
Origin focuses on the real origin of this route,:
0 IGP – Network Layer Reachability Information
is interior to the originating AS
1 EGP – Network Layer Reachability Information
learned via the EGP protocol [RFC904]
2 INCOMPLETE – Network Layer Reachability
Information learned by some other means
I think the question is refering to the step when BGP checks if the prefix was originated inside the local AS or not. Origin of route is probably not the same as Origin code, which comes after AS Path.
https://networklessons.com/bgp/bgp-attributes-and-path-selection/
Maksym is right:
In order to be candidates for multipath, paths to the same destination need to have these characteristics equal to the best-path characteristics:
Weight
Local preference
AS-PATH length
Origin
MED
Again,
the correct answer should be
…
3) AS_path
4) Originate
…
Read this
http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13753-25.html#anc3
Ant,
Your link shows as same as I!
AS_path before origin of route. Please double check it.
The correct order is:
1) W
2) L
3) A
4) O
5) M
Moderator must correct this “question” using my example.
Thanks