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

Reminder

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

upgrade

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).
Configuring BGP ADD-PATH

Configuring BGP ADD-PATH

BGP ADD-PATH allows a route reflector (RR) to send two or more routes with the same prefix to a specified IBGP peer. These routes can back up each other or load-balance traffic, which improves network reliability.

Usage Scenario

In a scenario with an RR and clients, if the RR has multiple routes to the same destination (with the same prefix), the RR selects an optimal route from these routes and then sends only the optimal route to its clients. Therefore, the clients have only one route to the destination. If a link along this route fails, route convergence takes a long time, which cannot meet the requirements for high reliability.

To address this issue, deploy the BGP ADD-PATH feature on the RR. With BGP ADD-PATH, the RR can send two or more routes with the same prefix to a specified IBGP peer. These routes can back up each other or load-balance traffic, which ensures high reliability in data transmission. The BGP ADD-PATH feature does not affect BGP route selection rules.

NOTE:

The RR can send ADD-PATH routes only to IBGP peers.

BGP ADD-PATH is not supported in BGP confederation scenarios.

Enable BGP ADD-PATH on the RR, enable the RR to send ADD-PATH routes to a specified IBGP peer, configure the number of routes that the RR can send to the IBGP peer, and enable the IBGP peer to receive BGP ADD-PATH routes from the RR so that such routes are available to the IBGP peer. In Figure 10-15, you can enable BGP ADD-PATH on the RR, enable Device A to receive BGP ADD-PATH routes from the RR so that Device A can receive two routes destined for 1.1.1.1/32, with next hops of 9.1.2.1 and 9.1.1.1. The two routes can back up each other or load-balance traffic.

Figure 10-15 Networking for configuring BGP ADD-PATH

Pre-configuration Tasks

Before configuring BGP ADD-PATH, configure basic BGP functions.

Procedure

  • Perform the following steps on the RR:
    1. Run system-view

      The system view is displayed.

    2. Run bgp as-number

      The BGP view is displayed.

    3. Run bestroute add-path path-number path-number

      BGP ADD-PATH is enabled, and the number of routes that the RR can select is configured.

    4. Run peer { ipv4-address1 | group-name1 } capability-advertise add-path send

      The RR is enabled to send ADD-PATH routes to the specified IBGP peer (Device A).

    5. Run peer { ipv4-address1 | group-name1 } advertise add-path path-number path-number

      The number of routes that the RR can send to the IBGP peer is configured.

    6. Run commit

      The configuration is committed.

  • Perform the following steps on Device A:
    1. Run system-view

      The system view is displayed.

    2. Run bgp as-number

      The BGP view is displayed.

    3. Run peer { ipv4-address2 | group-name2 } capability-advertise add-path receive

      Device A is enabled to receive ADD-PATH routes from the RR.

    4. Run commit

      The configuration is committed.

Checking the Configurations

Run the following commands on the RR to check configurations:

  • Run the display bgp peer verbose command to check information about BGP ADD-PATH.

# Display information about BGP ADD-PATH on the RR using the display bgp peer verbose command.

<HUAWEI> display bgp peer 100.0.0.4 verbose
  BGP Peer is 100.0.0.4,  remote AS 1.1
         Type: IBGP link
         BGP version 4, Remote router ID 100.0.0.4
         Update-group ID: 1
         BGP current state: Established, Up for 00h00m09s
         BGP current event: RecvUpdate
         BGP last state: OpenConfirm
         BGP Peer Up count: 3
         Received total routes: 0
         Received active routes total: 0
         Advertised total routes: 42007
         Port: Local - 61295        Remote - 179
         Configured: Connect-retry Time: 32 sec
         Configured: Active Hold Time: 180 sec   Keepalive Time:60 sec
         Received  : Active Hold Time: 180 sec
         Negotiated: Active Hold Time: 180 sec   Keepalive Time:60 sec
         Peer optional capabilities:
         Peer supports bgp multi-protocol extension
         Peer supports bgp route refresh capability
         Peer supports bgp add-path capability
             IPv4-UNC address-family: both
         Negotiated bgp add-path capability
             IPv4-UNC address-family: both
         Peer supports bgp 4-byte-as capability
         Address family IPv4 Unicast: advertised and received
 Received: Total 81 messages
                  Update messages                10
                  Open messages                  3
                  KeepAlive messages             67
                  Notification messages          1
                  Refresh messages               0
 Sent: Total 125210 messages
                  Update messages                125139
                  Open messages                  4
                  KeepAlive messages             66
                  Notification messages          1
                  Refresh messages               0
 Authentication type configured: None
 Last keepalive received: 2013-07-30 05:56:07+00:00
 Minimum route advertisement interval is 1 seconds
 Optional capabilities:
 Route refresh capability has been enabled
 Add-path capability has been enabled
     IPv4-UNC address-family: both
 Add-path number : 2
 4-byte-as capability has been enabled
 Send community has been configured
 Send extend community has been configured
 It's route-reflector-client
 Connect-interface has been configured
 Peer Preferred Value: 0
 Routing policy configured:
 No routing policy is configured

The command output shows that BGP ADD-PATH has been enabled at both ends and that the configured number of routes (including optimal and ADD-PATH routes) that the RR can send to its peer is 2.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058916

Views: 34096

Downloads: 49

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