By default, the switch compares the AS-Path attributes of the routes to be used for
load balancing.
NOTE
l If there are multiple routes to the same destination but these routes pass through different
ASs, load balancing cannot be implemented among these routes by default. To implement
load balancing among these routes, run the load-balancing as-path-ignore command.
After the load-balancing as-path-ignore command is run, the device no longer compares
the AS-Path attributes of the routes to be used for load balancing. Therefore, exercise
caution when using this command.
l The load-balancing as-path-ignore and bestroute as-path-ignore commands are
mutually exclusive.
----End
Checking the Configuration
After the BGP4+ load balancing configurations are complete, you can run the following
commands to check the configurations.
l Run the display bgp ipv6 routing-table [ ipv6-address prefix-length ] command to check
routing information in an IPv6 BGP routing table.
l Run the display ipv6 routing-table [ verbose ] command to view the IPv6 routing table.
# View the routing information in the IPv6 routing table.
<Quidway> display ipv6 routing-table
Routing Table : Public
Destinations : 9 Routes : 12
Destination : ::1 PrefixLength : 128
NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : InLoopBack0 Flags : D
Destination : 1::1 PrefixLength : 128
NextHop : 2001::2 Preference : 255
Cost : 0 Protocol : EBGP
RelayNextHop : :: TunnelID : 0x0
Interface : Pos1/0/0 Flags : D
Destination : 1::1 PrefixLength : 128
NextHop : 2002::2 Preference : 255
Cost : 0 Protocol : EBGP
RelayNextHop : :: TunnelID : 0x0
Interface : Pos1/0/1 Flags : D
Destination : 2001:: PrefixLength : 64
NextHop : 2001::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : Pos1/0/0 Flags : D
Destination : 2001::1 PrefixLength : 128
NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : Pos1/0/0 Flags : D
Destination : 2002:: PrefixLength : 64
NextHop : 2002::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 8 BGP4+ Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
528