Operation Manual – IPv4 Routing
H3C S5500-EI Series Ethernet Switches
Chapter 5 BGP Configuration
5-47
II. Network diagram
Vlan-int200
200.1.1.2/24
Switch A
AS 65008
Vlan-int100
8.1.1.1/8
Vlan-int400
9.1.1.2/24
Vlan-int300
200.1.2.1/24
Vlan-int200
200.1.1.1/24
Switch B
Switch C
AS 65009
Vlan-int300
200.1.2.2/24
Vlan-int400
9.1.1.1/24
EBGP
EBGP
IBGP
Figure 5-18
Network diagram for BGP load balancing configuration
III. Configuration procedure
1)
Configure IP addresses for interfaces (omitted)
2)
Configure BGP connections
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 65008
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 200.1.1.1 as-number 65009
[SwitchA-bgp] peer 200.1.2.1 as-number 65009
# Inject route 8.0.0.0/8 to BGP routing table.
[SwitchA-bgp] network 8.0.0.0 255.0.0.0
[SwitchA-bgp] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] bgp 65009
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 200.1.1.2 as-number 65008
[SwitchB-bgp] peer 9.1.1.2 as-number 65009
[SwitchB-bgp] network 9.1.1.0 255.255.255.0
[SwitchB-bgp] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] bgp 65009
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 200.1.2.2 as-number 65008
[SwitchC-bgp] peer 9.1.1.1 as-number 65009
[SwitchC-bgp] network 9.1.1.0 255.255.255.0