BGP Protocol Learning Notes

Source: Internet
Author: User

BGP (Border Gateway Protocol) Border Gateway Protocol, is an external routing protocol, which refers to the boundary of an autonomous system, Used to propagate routing information between autonomous systems BGP constructs a topology diagram of an autonomous system by adding the as path and other accompanying attribute information to the routing information to eliminate the policy of user configuration implemented by the routing loop.

The focus is on choosing the best route and controlling the propagation of the route, rather than discovering and computing the route.

The BGP protocol uses link-oriented TCP as its transport layer protocol, which increases the reliability of the protocol and the port number is 179.

BGP is a path vector routing protocol that transmits routing information between autonomous systems, and BGP propagates the entire routing table when it is started, and then propagates only the part of the network change. Support for classless inter-domain routing.

BGP has 4 message types

1. Open: Used to identify yourself

2. Keepalive:

3. Update: Updating routing information

4. Notification: Notice when the error is checked


Two kinds of neighbors: EBGP, IBGP

Routing notification principle: BGP informs all Neighbors (EBGP, IBGP) of the received EBGP message;

The IBGP message received will no longer be advertised to the IBGP neighbor.

Generally only the best route that you know is communicated to the neighbor, and the optimal route that you know is added to the routing table.


Message format:

Message header + Newspaper style








BGP Protocol Learning Notes

Related Article

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.