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.


CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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).
Summary of BGP Configuration Tasks

Summary of BGP Configuration Tasks

After basic BGP functions are configured, you can enable basic communication functions on BGP networks. If other BGP functions are required, configure them according to reference sections.

Table 9-6 describes the BGP configuration tasks.

If BGP is configured on an IPv6 network, all the peer addresses specified in the Peer command must be IPv6 addresses.

Table 9-6 BGP configuration tasks
Scenario Description Task
Configuring basic BGP functions The configuration of basic BGP functions is the foundation of the BGP network construction and the precondition for other BGP functions.

Configuring Basic BGP Functions

Configuring BGP security

On BGP networks, unauthorized users can attack the BGP network by modifying data packets or forging authorized users. To ensure security of services carried on BGP networks, configure BGP MD5 authentication, BGP Keychain authentication, or Generalized TTL Security Mechanism (GTSM) function.

Configuring BGP Security

Simplifying IBGP network connection

Because routes received from the IBGP neighbors will not be sent to other IBGP neighbors, fully-meshed connections must be established on the IBGP network. However, when the number of devices is large, peer configuration is very complex on the fully-meshed IBGP network, and the consumption of network resources and device CPU resources will increase. To reduce the number of IBGP network connections and better plan the network, configure the route reflector and confederation .

Simplifying IBGP Network Connections

Configuring BGP route selection and load balancing

In a BGP routing table, multiple routes to the same destination may exist. To guide route selection, BGP defines next-hop policies and route selection rules. The priority of next-hop policies is higher than that of BGP route selection rules. After the next-hop policies are performed, BGP selects routes according to the route selection rules.

Usually there are multiple valid routes to the same destination on the network. If BGP only advertises the optimal route to its peer, unbalanced traffic on different routes will occur. The BGP load-balancing configuration can balance load on different routes and reduce network congestion.

Configuring BGP Route Selection and Load Balancing

Controlling advertising and receiving of BGP routes

With the expansion of the network scale, the sharp increase of routing tables leads to greater load on networks and increasing network security problems. To solve this problem, filter routes according to the routing policies and only send and receive required BGP routes. In addition, multiple routes to the same destination may exist. If these routes need to pass through different ASs, direct service traffic to specific ASs or filter the routes to be advertised.

Controlling the Receiving and Advertisement of BGP Routes

Configuring and adjusting the BGP network convergence rate

To enable BGP to rapidly detect network changes, speed up the BGP network convergence. To minimize the effect on networks from route flapping and reduce load on the device, slow down the BGP network convergence.

Adjusting the BGP Network Convergence Speed

Configuring BGP reliability

To avoid long service interruption when faults occur on BGP networks, adopt the solution of standby link. However, the BGP mechanism requires more than one second to detect the faults and perform active/standby switchover. To ensure that users of delay-sensitive services such as the voice service do not detect the service interruption, associate BGP tracking, BGP, and BFD to implement fast fault detection, and meanwhile use BGP GR to perform fast switchover after the fault detection.

Configuring BGP Reliability

Configuring BGP route aggregation

The BGP routing table on a medium or large BGP network contains a large number of routing entries. Storing the routing table consumes a large number of memory resources, and transmitting and processing the routing information consumes a large number of network resources. Route aggregation can reduce the size of a routing table, prevent specific routes from being advertised, and minimize the impact of route flapping on networks. Although BGP automatic route aggregation is easy to configure, it only aggregates routes according to the natural network segment. BGP manual route aggregation can be used with flexible routing policies to enable BGP to effectively transmit and control routes.

Configuring BGP Route Summarization

Configuring BGP neighbors to advertise routes on demand

BGP Outbound Route Filters (ORF) is used to enable BGP neighbors to advertise routes on demand.

If neighbors of the local BGP device have different route requirements, different export policies must be configured on the local BGP device. In this case, the configuration workload and maintenance costs of the local BGP device will increase. To solve this problem, configure BGP ORF on BGP neighbor devices, allowing BGP neighbor devices to maintain route policies on demand and send them to the local BGP device as export policies. This reduces the configuration workload and maintenance costs of the local BGP device.

Configuring On-demand Route Advertisement

Configuring a local BGP device to send a default route to its peer

The BGP routing table on a medium or large BGP network contains a large number of routing entries. Storing the routing table consumes a large number of memory resources, and transmitting and processing the routing information consumes a large number of network resources. If multiple routes in a peer BGP routing table are sent only from a local device, configure the local device to send a default route to its peer. In this case, the local device will send a default route with the next hop address as the local address to its peer, regardless of whether there is a default route in the local routing table. After the local device is configured to send only the default route to its peer using the routing policies, the number of network routes is greatly reduced and the peer memory resources and network resources are largely saved.

Configuring BGP to Advertise Default Routes to Peers

Configuring path MTU auto discovery

BGP path MTU auto discovery allows the discovery of the minimum MTU value (path MTU) on the network path from the source to the destination, which enables TCP to transmit the BGP messages according to the path MTU. This increases the BGP message transmission efficiency and improves the BGP performance.

Configuring Path MTU Auto Discovery

Configuring MP-BGP

Traditional BGP-4 only manages IPv4 unicast routing information and does not support route transmission between ASs of other networks such as IPv6 and multicast networks. To support multiple network layer protocols, the Internet Engineering Task Force (IETF) extends BGP-4 to Multiprotocol Extensions for BGP-4 (MP-BGP). Features supported by MP-BGP on IPv6 networks are called BGP4+ and multicast networks are called Multicast BGP (MBGP).

Configuring MP-BGP

Updated: 2019-12-27

Document ID: EDOC1000174069

Views: 188941

Downloads: 316

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next