Bgp Load Balancing Configuration Example - HPE 5800 Series Configuration Manual

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

--- 8.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/2/2 ms

BGP load balancing configuration example

Network requirements
As shown in
AS 65009. EBGP runs between Switch A and Switch B, and between Switch A and Switch C. IBGP
runs between Switch B and Switch C. Configure two routes on Switch A for load balancing.
Figure 73 Network diagram
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.
Configure BGP connections:
2.
On Switch A, establish EBGP connections with Switch B and Switch C; configure BGP to
advertise network 8.1.1.0/24 to Switch B and Switch C, so Switch B and Switch C can
access the internal network connected to Switch A.
On Switch B, establish an EBGP connection with Switch A and an IBGP connection with
Switch C; configure BGP to advertise network 9.1.1.0/24 to Switch A, so Switch A can
access the intranet through Switch B; configure a static route to interface loopback 0 on
Switch C (or use a routing protocol like OSPF) to establish the IBGP connection.
On Switch C, establish an EBGP connection with Switch A and an IBGP connection with
Switch B; configure BGP to advertise network 9.1.1.0/24 to Switch A, so Switch A can
access the intranet through Switch C; configure a static route to interface loopback 0 on
Switch B (or use another protocol like OSPF) to establish the IBGP connection.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 65008
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 3.1.1.1 as-number 65009
[SwitchA-bgp] peer 3.1.2.1 as-number 65009
[SwitchA-bgp] network 8.1.1.1 24
Figure
73, all switches run BGP. Switch A resides in AS 65008, Switch B and Switch C in
224

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents