Got it

Which one of the two routes with the same attribute is preferentially selected EVPN or L3VPN?

Latest reply: Feb 7, 2020 18:27:06 326 1 2 0 0


Hello everyone,

Today, I'll show you which route is preferentially selected between EVPN and L3VPN when two routes have the same attributes.

As we all know, EVPN supports both L2VPN and L3VPN, simplifying network protocols. As EVPN becomes more mature, more and more customers are considering evolving traditional L3VPN services to EVPN. The evolution of L3VPN is relatively simple. In addition to the BGP EVPN AF configuration, you only need to run the evpn mpls routing-enable command in the ip vpn-instance view and do not need to change the UNI.

However, if a device learns two routes with the same attributes (EVPN and L3VPN) during the cutover, who will be selected as the optimal route? The answer is L3VPN (current implementation, which may be changed in the future).

Now, let's try to prove it. In the experiment, the VRF routes of 52.52.52.52/32 are from EVPN and L3VPN, respectively. The inner label 48224 is an L3VPN route, and the inner label 48225 is an EVPN route. Let's see how two routes with different BGP attributes are selected.

Round 1: Different peer addresses

Similar to the comparison rules of two L3VPN routes, the route with the optimal peer address is preferentially selected. Therefore, the L3VPN route wins.

175448zn1gn04kbuocn49u.png

Round 2: Router-IDs are different

Similar to the two L3VPN routes, the route with a smaller router ID is preferred. Therefore, the L3VPN route wins.

 

175448le0cp46p4622gced.png

Round 3: IGP costs are different

Similar to the rules for comparing two L3VPN routes, the route with a smaller IGP cost is preferred. Therefore, the L3VPN route wins.

175449v3tztp0chqt5zpc3.png

Round 4: MEDs are different

Similar to the comparison rules of two L3VPN routes, the route with the smallest MED value is preferentially selected. Therefore, the L3VPN route wins.

175449f01y9ii5u16049xo.png

Round 4: All BGP attributes are the same

The L3VPN route wins. The reason why EVPN is not preferentially selected is not preferred for import-rib route. It is suspected that the rule that L3VPN routes take precedence over EVPN routes is hardcoded when all BGP attributes are the same.

175449hlhlo66iil9nlg66.png

http://image.huawei.com/tiny-lts/v1/images/a116226451134e373f92_1309x365.png@900-0-90-f.png

This is what I want to share with you today, thank you!

 


thanks to share
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.