No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - IP Routing 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - IP Routing
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
BGP Overview

BGP Overview

The Border Gateway Protocol (BGP) advertises and maintains a large number of routes between autonomous systems (ASs).

BGP Definition

Border Gateway Protocol (BGP) is a dynamic routing protocol used between Autonomous Systems (ASs). BGP is widely used by Internet Service Providers (ISPs).

As three earlier-released versions of BGP, BGP-1, BGP-2, and BGP-3 are used to exchange reachable inter-AS routes, establish inter-AS paths, avoid routing loops, and apply routing policies between ASs.

Currently, BGP-4 is used.

BGP has the following characteristics:

  • Unlike an Interior Gateway Protocol (IGP), such as Open Shortest Path First (OSPF) and Routing Information Protocol (RIP), BGP is an Exterior Gateway Protocol (EGP) which controls route advertisement and selects optimal routes between ASs rather than discovering or calculating routes.

  • BGP uses Transport Control Protocol (TCP) as the transport layer protocol, which enhances BGP reliability.

    • BGP selects inter-AS routes, which poses high requirements on stability. Therefore, using TCP enhances BGP's stability.

    • BGP peers must be logically connected through TCP. The destination port number is 179 and the local port number is a random value.

  • BGP supports Classless Inter-Domain Routing (CIDR).

  • When routes are updated, BGP transmits only the updated routes, which reduces bandwidth consumption during BGP route distribution. Therefore, BGP is applicable to the Internet where a large number of routes are transmitted.

  • BGP is a distance-vector routing protocol.

  • BGP is designed to prevent loops.

    • Between ASs: BGP routes carry information about the ASs along the path. The routes that carry the local AS number are discarded to prevent inter-AS loops.

    • Within an AS: BGP does not advertise routes learned in an AS to BGP peers in the AS to prevent intra-AS loops.

  • BGP provides many routing policies to flexibly select and filter routes.

  • BGP provides a mechanism that prevents route flapping, which effectively enhances Internet stability.

  • BGP can be easily extended.


BGP transmits route information between ASs. It, however, is not required in all scenarios.

Figure 10-1 BGP networking

BGP is required in the following scenarios:

  • On the network shown in Figure 10-1, users need to be connected to two or more ISPs. The ISPs need to provide all or part of the Internet routes for the users. Routers, therefore, need to select the optimal route through the AS of an ISP to the destination based on the attributes carried in BGP routes.

  • The AS_Path attribute needs to be transmitted between users in different organizations.

  • Users need to transmit VPN routes through a Layer 3 VPN. For details, see the NE device Feature Description - VPN.

  • Users need to transmit multicast routes and construct a multicast topology. For details, see the NE device Feature Description - IP Multicast.

BGP is not required in the following scenarios:

  • Users are connected to only one ISP.

  • The ISP does not need to provide Internet routes for users.

  • ASs are connected through default routes.

Updated: 2019-01-14

Document ID: EDOC1100058916

Views: 37878

Downloads: 57

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next