- Verify that all routers that are going to run Border Gateway Protocol (BGP) have
16 MB of memory and issue the following commands:
Command> set bgp enable
Command> save all
Command> reboot
- The Autonomous System (AS) for this example will be 9009 . Issue the following
commands on all BGP routers:
Command> set bgp id <IP number of ether0>
Command> set bgp as 9009
Command> save all
Command> reset bgp
- Set up the EXTERNAL peering to the two different providers.
Router 192.168.10.5 will receive feed from 172.16.96.76 AS 9966 and router
192.168.10.8 will receive feed from 10.200.10.3 AS 8855 . Set up the peers to
these routers with the following commands:
On 192.168.10.5:
Command> add bgp peer 192.168.10.5 172.16.96.76 9966 accept all inject all advertise
all
Command> save all
On 192.168.10.8:
Command> add bgp peer 192.168.10.8 10.200.10.3 8855 accept all inject all advertise
all
Command> save all
- Set up two separate Confederations with two routers each. One confederation will consist
of routers 192.168.10.5 and 192.168.10.6 called CMA 1105. The other confederation
will consist of routers 192.168.10.8 and 192.168.10.10 called CMA 1108 .
On routers 192.168.10.5 and 192.168.10.6:
Command> set bgp confederation-member-as 1105
Command> save all
Command> reset bgp
On routers 192.168.10.8 and 192.168.10.10:
Command> set bgp confederation-member-as 1108
Command> save all
Command> reset bgp
- Set up a peer between the 2 confederations. When peering between two confederations use
the CMA of the router you are peering with and specify confederation-member in the peering
command.
On router 192.168.10.5:
Command> add bgp peer 192.168.10.5 192.168.10.8 1108 accept all inject all
advertise all confederation-member
On router 192.168.10.8:
Command> add bgp peer 192.168.10.8 192.168.10.5 1105 accept all inject all advertise
all confederation-member
- Set up the INTERNAL confederation peers. There are two INTERNAL peers that need to be
set up. See the set up commands below.
CMA 1105
On router 192.168.10.5:
Command> add bgp peer 192.168.10.5 192.168.10.6 1105 accept all inject all advertise
all confederation-member
On router 192.168.10.6:
Command> add bgp peer 192.168.10.6 192.168.10.5 1105 accept all inject all advertise
all confederation-member
CMA 1108
On router 192.168.10.8:
Command> add bgp peer 192.168.10.8 192.168.10.10 1108 accept all inject all
advertise all confederation-member
On router 192.168.10.10:
Command> add bgp peer 192.168.10.10 192.168.10.8 1108 accept all inject all
advertise all confederation-member
- Use the following commands to add summarizations for internal routes that are to be
advertised to your providers:
On 192.168.10.5:
Command> add bgp summarization 192.168.10.0/24 as 9966
Command> add bgp summarization 192.168.20.0/24 as 9966
On 192.168.10.8:
Command> add bgp summmarization 192.168.10.0/24 as 8855
Command> add bgp summarization 192.168.20.0/24 as 8855