![H3C S5500-EI series Скачать руководство пользователя страница 259](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960259.webp)
242
Since Switch A has two routes to reach AS 65009, configuring load balancing over the two BGP routes
on Switch A can improve link utilization.
# Configure Switch A.
[SwitchA] bgp 65008
[SwitchA-bgp] balance 2
[SwitchA-bgp] quit
4.
Verify the configuration.
# Display the BGP routing table on Switch A.
[SwitchA] display bgp routing-table
Total Number of Routes: 3
BGP Local router ID is 1.1.1.1
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 8.1.1.0/24 0.0.0.0 0 0 i
*> 9.1.1.0/24 3.1.1.1 0 0 65009i
*> 3.1.2.1 0 0 65009i
•
The route 9.1.1.0/24 has two next hops 3.1.1.1 and 3.1.2.1, both of which are marked with a
greater-than sign (>), indicating they are the best routes.
•
By using the
display ip routing-table
command, you can find two routes to 9.1.1.0/24: one with next
hop 3.1.1.1 and outbound interface VLAN-interface 200, the other with next hop 3.1.2.1 and
outbound interface VLAN-interface 300.
BGP community configuration
Network requirements
As shown in
, Switch B establishes eBGP connections with Switch A and C. Configure
No_Export community attribute on Switch A to make routes from AS 10 not advertised by AS 20 to any
other AS.
Figure 93
Network diagram