[c-nsp] BGP config question

Wayne Lee linkconnect at googlemail.com
Mon Feb 18 08:10:56 EST 2008


HI Guys

We are currently getting our transit via BGP from 2 seperate
providers, we have our own AS and now we have a customer who wants us
to provide them with BGP transit. The customer also has their own AS.
I have searched the net for example configs but so far all I have
found is examples from the customers point of view rather than the
providers (I guess I should already know the answer).

I've had a crack at the config and was hoping you guys could point me
in the correct direction or point out any errors.

router bgp 29xxx
 network 82.xxx.xxx.0 mask 255.255.224.0 (our IP space)
 network 89.xxx.xxx.0 mask 255.255.224.0 (our IP space)
 network 213.xxx.xxx.0 (our IP space)
 network 213.xxx.xxx.0 (our IP space)
 network 217.xxx.xxx.0 mask 255.255.240.0  (customers IP space, is
this line required ?)
 neighbor 82.xxx.xxx.162 remote-as 20xxx
 neighbor 82.xxx.xxx.162 description eBGP transit for customer
 neighbor 82.xxx.xxx.162 password ************
 neighbor 82.xxx.xxx.162 prefix-list AS20xxx-in in
 neighbor 82.xxx.xxx.162 distribute-list 190 out
 neighbor 82.xxx.xxx.162 filter-list 10 out

ip prefix-list AS20xxx-in seq 5 permit 217.xxx.xxx.0/20
ip prefix-list AS20xxx-in seq 10 deny 0.0.0.0/0

Thanks in advance for your time.

Wayne


More information about the cisco-nsp mailing list