Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 5 BGP Configuration
5-40
5.10 BGP Configuration Examples
5.10.1 BGP Basic Configuration
I. Network requirements
In the following figure are all BGP switches. Between Switch A and Switch B is an
EBGP connection. IBGP speakers Switch B, Switch C and Switch D are fully meshed.
II. Network diagram
Device Interface IP
address
Device Interface IP
address
Switch A
Vlan-int100
8.1.1.1/8
Switch D
Vlan-int400
9.1.1.2/24
Vlan-int200
200.1.1.2/24
Vlan-int500
9.1.2.2/24
Switch B
Vlan-int400
9.1.1.1/24
Switch C
Vlan-int500
9.1.2.1/24
Vlan-int200
200.1.1.1/24
Vlan-int300
9.1.3.2/24
Vlan-int300
9.1.3.1/24
Figure 5-16
Network diagram for BGP basic configuration (on switches)
III. Configuration procedure
1)
Configure IP addresses for interfaces (omitted)
2)
Configure IBGP connections
# Configure Switch B.
<SwitchB> system-view
[SwitchB] bgp 65009
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 9.1.1.2 as-number 65009
[SwitchB-bgp] peer 9.1.3.2 as-number 65009
[SwitchB-bgp] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] bgp 65009
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 9.1.3.1 as-number 65009
[SwitchC-bgp] peer 9.1.2.2 as-number 65009