6 examples 6: configure med of bgp, 6 examples 6: configure med of bgp -22 – PLANET XGS3-24042 User Manual

Page 356

Advertising
background image

40-22

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.

40.3.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.

Figure 40-4 MED Configuring Topological Map

The configurations of SwitchA:

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

Advertising
This manual is related to the following products: