Operation Manual – IPv4 Routing
H3C S5500-EI Series Ethernet Switches
Chapter 5 BGP Configuration
5-52
5.10.5 BGP Route Reflector Configuration
I. Network requirements
In the following figure, all switches run BGP.
z
Between Switch A and Switch B is an EBGP connection, between Switch C and
Switch B, and between Switch C and Switch D are IBGP connections.
z
Switch C is a route reflector with clients Switch B and D.
z
Switch D can learn route 1.0.0.0/8 from Switch C.
II. Network diagram
Vlan-int200
192.1.1.1/24
Switch A
AS 100
Vlan-int200
192.1.1.2/24
Vlan-int100
1.1.1.1/8
Vlan-int300
193.1.1.2/24
Vlan-int400
194.1.1.2/24
Vlan-int400
194.1.1.1/24
Vlan-int300
193.1.1.1/24
Switch C
Switch B
Switch D
AS 200
Route
Reflector
Figure 5-20
Network diagram for BGP route reflector configuration
III. Configuration procedure
1)
Configure IP addresses for interfaces (omitted)
2)
Configure BGP connections
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 100
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 192.1.1.2 as-number 200
# Inject network 1.0.0.0/8 to the BGP routing table.
[SwitchA-bgp] network 1.0.0.0
[SwitchA-bgp] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] bgp 200
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 192.1.1.1 as-number 100
[SwitchB-bgp] peer 193.1.1.1 as-number 200
[SwitchB-bgp] peer 193.1.1.1 next-hop-local
[SwitchB-bgp] quit