3Com Switch 8800 Configuration Guide Chapter 21 BGP Configuration

21-27

II. Network diagram
AS200
AS100
AS1002AS1001
AS1003
Ethernet
172.68.10.1 172.68.10.2
172.68.10.3
172.68.1.2
172.68.1.1
156.10.1.1
156.10.1.2
Switch A Switch B
Switch C Switch D
Switch E
Figure 21-2 Network diagram for AS confederation configuration
III. Configuration procedure
Configure Switch A:
[Switch A] bgp 1001
[Switch A-bgp] confederation id 100
[Switch A-bgp] confederation peer-as 1002 1003
[Switch A-bgp] group confed1002 external
[Switch A-bgp] peer confed1002 as-number 1002
[Switch A-bgp] group confed1003 external
[Switch A-bgp] peer confed1003 as-number 1003
[Switch A-bgp] peer 172.68.10.2 group confed1002
[Switch A-bgp] peer 172.68.10.3 group confed1003
Configure Switch B:
[Switch B] bgp 1002
[Switch B-bgp] confederation id 100
[Switch B-bgp] confederation peer-as 1001 1003
[Switch B-bgp] group confed1001 external
[Switch B-bgp] peer confed1001 as-number 1001
[Switch B-bgp] group confed1003 external
[Switch B-bgp] peer confed1003 as-number 1003
[Switch B-bgp] peer 172.68.10.1 group confed1001
[Switch B-bgp] peer 172.68.10.3 group confed1003