Network requirements

  • In the figure below, all switches run BGP. eBGP connections are between Switch A and Switch B, and between Switch A and Switch C. iBGP connections are between Switch B and Switch D, and between Switch C and Switch D.

  • OSPF is the IGP protocol in AS 200.

  • Configure the routing policies. Switch D should use the route 1.0.0.0/8 from Switch C as the optimal route.

Figure 66: Network diagram for BGP path selection configuration

Device

Interface

IP address

Device

Interface

IP address

Switch A

Vlan101

1.0.0.0/8

Switch D

Vlan400

195.1.1.1/24

 

Vlan100

192.1.1.1/24

 

Vlan300

194.1.1.1/24

 

Vlan200

193.1.1.1/24

Switch C

Vlan400

195.1.1.2/24

Switch B

Vlan100

192.1.1.2/24

 

Vlan200

193.1.1.2/24

 

Vlan300

194.1.1.2/24