585
SwitchD(config-router-bgp)#neighbor 5.5.5.5 remote-as 100
SwitchD(config-router-bgp)#neighbor 5.5.5.5 route-reflector-client
SwitchD(config-router-bgp)#neighbor 6.6.6.6 remote-as 100
SwitchD(config-router-bgp)#neighbor 6.6.6.6 route-reflector-client
SwitchD(config-router-bgp)#neighbor 3.3.3.3 remote-as 100
SwitchD(config-router-bgp)#neighbor 7.7.7.7 remote-as 100
The configurations of SwitchA:
SwitchA(config)#router bgp 100
SwitchA(config-router-bgp)#neighbor 1.1.1.2 remote-as 100
SwitchA(config-router-bgp)#neighbor 9.9.9.9 remote-as 300
The SwitchA at this time needn’t to create IBGP connection with all the switches in the
AS100 and could receive BGP route from other switches in the AS.
14.8.4.6 Examples 6: configure MED of BGP
The following is the configuration of a MED. As illustrated, SwitchA is affiliated to
AS100, SwitchB is affiliated to AS400, SwitchC and SwitchD belong to AS300.
Fig 14-13
MED Configuring Topological Map
AS100
AS400
AS300
Set metric 50
vlan1:4.4.4.4
vlan3:3.3.3.3
vlan1:3.3.3.2
vlan1:2.2.2.1
vlan2:1.1.1.2
vlan2:1.1.1.1
vlan2:2.2.2.2
vlan1:4.4.4.3
SwitchA
SwitchB
SwitchC
SwitchD
Metric=0
Set metric 200
Set metric 120