[c-nsp] route maps and bgp
Kevin Graham
mahargk at gmail.com
Mon Oct 3 23:50:40 EDT 2005
On 10/3/05, Chad Whitten <cwhitten at nexband.com> wrote:
> router bgp AS#
> network a.b.c.d/24
> network e.f.g.h/20
> neighbor w.x.y.z remote-as ####
> neighbor w.x.y.z version 4
> neighbor 1.2.3.4 remote-as ####
> neighbor 1.2.3.4 version 4
First, limit what you're advertising...
ip prefix-list nexband seq 10 permit a.b.c.d/24
ip prefix-list nexband seq 20 permit e.f.g.h/24
...
neighbor w.x.y.z prefix-list nexband out
Second, add a safe-guard (assuming you don't have any BGP customers):
route-map generic-import permit 10
set community no-export additive
...
neighbor w.x.y.z route-map generic-import in
Third, admonish your provider for neither filtering you nor having max-prefixes.
...and fourth, check out Internet Routing Architectures or atleast ISP
Essentails (both Cisco Press).
More information about the cisco-nsp
mailing list