[nsp] as-path prepend question

Gert Doering gert at greenie.muc.de
Tue Sep 9 16:27:11 EDT 2003


Hi,

On Tue, Sep 02, 2003 at 11:09:53AM +0200, Lukas Krattiger wrote:
> I want to prepend a path based on the source ip with two additional hops 
> and the rest with one, here the config-part as I understand
[..]
> !
> access-list 1 10.10.0.0 0.0.0.255
> !
> route-map ASprepend-OUT permit 10
>   match ip address 1
>   set as-path prepend <MYAS> <MYAS>

I think this won't work, as "match ip address" in BGP route-maps tends
to match the *prefix*, and not the originating router.  So watch this
carefully.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de


More information about the cisco-nsp mailing list