582
Switch(config-route-map)#match community com2
Switch(config-route-map)#set local-preference 500
Switch(config-route-map)#exit
Switch(config)#ip community-list com1 permit 100 200 300
Switch(config)#ip community-list com1 permit 900 901
Switch(config)#ip community-list com2 permit 88
Switch(config)#ip community-list com2 permit 90
Switch(config)#exit
Switch#clear ip bgp 16.1.1.6 soft out
14.8.4.4 Examples 4: configure BGP confederation
The following is the configuration of an AS. As the picture illustrated, SwitchB and
SwitchC establish IBGP connection. SwitchD is affiliated to AS 20.SwitchB and SwitchC
establish EBGP of inner AS confederation. AS10 and AS20 form AS confederation with
the AS number AS200; SwitchA belongs to AS100, SwitchB may create EBGP
connection by AS200.
Fig 14-11
Confederation configuring topology
The configurations are as following:
AS200
AS10
AS20
AS100
vlan1:11.1.1.1
AS300
vlan1:11.1.1.2
Vlan2:13.1.1.2
vlan3:12.1.1.2
vlan1:12.1.1.3
vlan1:13.1.1.4
SwitchA
SwitchB
SwitchC
SwitchD