
Checking the Configurations
After the BGP load balancing configurations have been configured, you can run the following
commands to check the configurations.
l
Run the
display bgp routing-table
[
network
[ {
mask
|
mask-length
} [
longer-
prefixes
] ] ] command to check routing information in a BGP routing table.
l
Run the
display ip routing-table vpn-instance
vpn-instance-name
[
verbose
] command
to view the routing table of a VPN instance.
# Display the routing table of the VPN instance
vpn1
. You can see the routes to be used for load
balancing.
<HUAWEI>
display ip routing-table vpn-instance vpn1
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: vpn1
Destinations : 4 Routes : 6
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.1.1.0/24 IBGP 255 0 RD
5.5.5.9
Pos2/0/0
IBGP 255 0 RD
4.4.4.9
Pos1/0/0
10.2.1.0/24 IBGP 255 0 RD
4.4.4.9
Pos1/0/0
IBGP 255 0 RD
5.5.5.9
Pos2/0/0
10.3.1.0/24 Direct 0 0 D 10.3.1.1
GigabitEthernet3/0/0
10.3.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet3/0/0
Exception Handling
After the
maximum load-balancing
number
command is run on a device, the device changes
the next hop addresses of the routes received from EBGP peers to the IP address used by the
device to establish a peer relationship with an IBGP peer. Then the device advertises the routes
to the IBGP peer. In
, Router B is an EBGP peer of Router A and Router D, and
Router B and Router C are IBGP peers.
Figure 8-4
Networking for configuring BGP load balancing
1.1.1.9/32
AS 200
AS 100
AS 300
RouterC
RouterB
RouterA
RouterD
4.4.4.9/32
10.1.1.1/30
10.1.1.2/30
10.1.2.1/30
10.1.2.2/30
10.1.3.2/30
10.1.3.1/30
If the
maximum load-balancing
number
command is not run Router B, Router B does not
change the next hop addresses of routes received from Router A and Router D before advertising
the routes to Router C. The command output on Router C is used as an example.
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8 BGP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
847