3com 8807 User Guide

Page of 883
Typical BGP Configuration Examples
385
[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 
# 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
Network requirements
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 
receives a route update from Switch B, it will transmit such information to Switch 
D. It is required to establish an IBGP connection between Switch B and Switch D, 
because Switch C reflects information to Switch D.