146 CHAPTER 5: IP ROUTING PROTOCOL OPERATION
Figure 13 AS Confederation Configuration
To configure the AS confederation:
1 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
2 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
3 Configure Switch C:
[Switch C]bgp 1003
[Switch C-bgp]confederation id 100
[Switch C-bgp]confederation peer-as 1001 1002
[Switch C-bgp]group confed1001 external
[Switch C-bgp]peer confed1001 as-number 1001
[Switch C-bgp]group confed1002 external
[Switch C-bgp]peer confed1002 as-number 1002
[Switch C-bgp]peer 172.68.10.1 group confed1001
[Switch C-bgp]peer 172.68.10.2 group confed1002
[Switch C-bgp]group ebgp200 external
[Switch C-bgp]peer 156.10.1.2 group ebgp200 as-number 200
[Switch C-bgp]group ibgp1003 internal
[Switch C-bgp]peer 172.68.1.2 group ibgp1003
Configuring BGP Route Reflector
Switch B receives an update packet passing EBGP and transmits it to Switch C.
Switch C is a reflector with two clients: Switch B and Switch D. When Switch C
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