From: Sage Vadi (sagevadi@yahoo.co.uk)
Date: Tue Jan 07 2003 - 02:50:05 GMT-3
John,
Your config is not correct. The one you pasted below
anyway. You've only indicated what network you are
wanting BGP to advertise - this hasn't got much to do
with prepending AS's to your neighbor.
Example from CCO:
router bgp x
neighbor 192.168.42.4 route-map foo out
route-map foo permit 10
match ip address 1
set as-path prepend 100
To confirm: sh ip bgp
Cheers,
Sage
--- John Underhill <stepnwlf@magma.ca> wrote: > Ok,
one question before I call it a night, (the
> white noise from the rack
> churning away has me all but hallucinating..)
> So, I have this BGP config, and I want to advertise
> a network qualified by a
> route map, and use this to prepend the as-path of
> the specific route.. now
> usually when you are performing an illegal
> proceedure in BGP, it's good
> enough to let you know, but the config goes ok, it
> just doesn't work.. my
> question is, can this work, or do I need to do this
> with neighbor bound
> route maps only? Example is below.
> Thanks
>
> router bgp 100
> netw 10.10.10.0 mask 255.255.255.0 route-map ASP
>
> ip prefix-list PREFIX permit 10.10.10.0/24
> (with or without prefix list, it doesn't work..)
> route-map ASP permit 10
> match ip add prefix-list PREFIX
> set as-path prepend 400 407
> .
>
This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:44 GMT-3