[nsp] BGP Q
Beprojects.com
info at beprojects.com
Mon Feb 9 19:27:28 EST 2004
OK, so if I have something like this for outbound pre-pend if I advertise
192.168.100.0:
route-map INPATH permit 10
match ip address 10
set metric 0
set as-path prepend 1111 1111
router bgp 1111
neighbor 192.168.42.4 route-map INPATH out
access-list 10 permit 192.168.100.0 0.0.0.255
Do I just do something like this for inbound (assuming I want to add 2 AS
entries)?
route-map OUTPATH permit 10
match ip address 20
set metric 0
set as-path prepend 1111 1111
router bgp 1111
neighbor 192.168.42.4 route-map SETPATH in
access-list 20 permit any
----- Original Message -----
From: "Matthew Crocker" <matthew at crocker.com>
To: <jlewis at lewis.org>
Cc: "Cisco Nsp" <cisco-nsp at puck.nether.net>
Sent: Monday, February 09, 2004 6:05 PM
Subject: Re: [nsp] BGP Q
>
> On Feb 9, 2004, at 5:24 PM, jlewis at lewis.org wrote:
> > Yes. You can prepend (I use the provider's ASN) received routes just
> > as
> > you would prepend outgoing routes (route-map).
> >
> >
>
> You should always prepend with YOUR ASN. If you prepend your providers
> AS and later accidentally leak the route it is harder to track where
> the path is being munged.
>
> -Matt
>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
More information about the cisco-nsp
mailing list