BGP attribute Details: Origin Property/med Property

Source: Internet
Author: User

In the IGP era, we all know, for example, OSPF, link state protocol, in the routing of the time, than the cost of the link, which link consumption will be more priority, if two of the same link consumption, then do load balancing.

In fact, the 2 principles to achieve the OSPF---shortest path first work principle.

What if, in BGP, there are multiple routes to achieve the goal, how should the choice be made? Which path is the preferred one?

Take a look at the priority of these 11 attributes, and deepen the memory, preferably with a skilled back:

1 Highest Weight--cisco private properties

2 Highest local prerence-----recognized optional

3 ROUTE originated by the ROUTER NEXT hop=0.0.0.0 *-----Recognized must be respected well-known mandatory

4 Shortest as PATH *-----recognized well-known mandatory

5 LOWEST originated igp> Egp>incomplete *-----Recognized well-known mandatory

6 LOWEST MED

7 EBGP path over IBGP path

8 prefer the PATH throgh the closest IGP neighbor

9 Rrefer oldest ROUTER for EBGP PATH

Prefer the PATH with the LOWEST neighbor BGP ROUTER ID

One BGP LOWEST ROUTER ID

MINIMUM Claster LIST LENGTH

In BGP, in addition to a large set of principles to be understood, the principle of route selection is the most important. Must be mastered (to understand and troubleshoot BGP, here must be to grasp rather than understand) the route principle.

Each property is validated by the document one at a time. To be able to reach myself in the mind of these concepts.

Origin attribute detailed: Igp>egp>incompelete.

About this attribute, the network upstream a lot of reference examples.

Here I will say a summary:

Igp>egp>incomelete

BGP Netowrk The routed route will definitely add an I tag > EGP announces the Routing (EGP has been eliminated) > redistribution to BGP routing.

Validating this property does not take much time:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.