beautypg.com

Bgp confederation configuration example – H3C Technologies H3C S12500-X Series Switches User Manual

Page 277

background image

263

Network NextHop MED LocPrf PrefVal Path/Ogn

i 20.0.0.0 193.1.1.2 0 100 0 100i

Switch D has learned route 20.0.0.0/8 from Switch C.

345B

BGP confederation configuration example

624B

Network requirements

As shown in

1164H

Figure 65

, to reduce IBGP connections, AS 200 is split into three sub-ASs: AS65001,

AS65002, and AS65003. Switches in AS65001 are fully meshed.

Figure 65 Network diagram

Device Interface

IP

address

Device Interface

IP

address

Switch A

Vlan-int100

200.1.1.1/24

Switch D

Vlan-int200 10.1.5.1/24

Vlan-int200

10.1.1.1/24

Vlan-int400 10.1.3.2/24

Vlan-int300

10.1.2.1/24

Switch

E

Vlan-int200

10.1.5.2/24

Vlan-int400

10.1.3.1/24

Vlan-int500 10.1.4.2/24

Vlan-int500

10.1.4.1/24

Switch F

Vlan-int100 200.1.1.2/24

Switch B

Vlan-int200

10.1.1.2/24

Vlan-int600

9.1.1.1/24

Switch C

Vlan-int300

10.1.2.2/24

625B

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown.)

2.

Configure BGP confederation:
# Configure Switch A.

system-view

[SwitchA] bgp 65001

[SwitchA-bgp] router-id 1.1.1.1

[SwitchA-bgp] confederation id 200

[SwitchA-bgp] confederation peer-as 65002 65003

[SwitchA-bgp] peer 10.1.1.2 as-number 65002

[SwitchA-bgp] peer 10.1.2.2 as-number 65003

Switch F

Switch A

Switch D

Switch E

AS 200

AS 100

Vlan-int600

Switch B

Switch C

AS 65002

AS 65003

Vlan-int100

Vlan-int100

AS 65001

Vl

an

-int300

Vlan-int400

Vlan-int500

Vlan-int400

Vlan-int500

Vlan-int200

Vlan-int200

Vlan-int300

Vlan-int200

This manual is related to the following products: