You are on page 1of 1

EXERCISE: 8

BGP
BGP is a very robust routing protocol that is used to exchange routing information between
multiple Autonomous Systems (AS)
How to configure BGP? For short:
1. Declare your own AS number by "router bgp as-number".
2. Define neighbors with "neighbor Address remote-as as-number".
3. Define the networks you own by "network Address Mask".

Here is the BGP configuration fragment on "Router1" (AS number 2).


router bgp 2
bgp log-neighbor-changes
no synchronization
neighbor 4.4.4.1 remote-as 1
neighbor 5.5.5.3 remote-as 3
network 2.2.2.0 mask 255.255.255.0'

You might also like