From: Nigel Roy (nigel@xxxxxxxxxxxxxxxxx)
Date: Thu Nov 29 2001 - 12:33:05 GMT-3
I haven't seen anyone else answer so I thought I would put you out of your
misery.
In short no you can't. You can identify any individual part of your AS path
with all sorts of wonderful regular expressions but the only thing IOS
allows you to do to change an AS path is to add or "prepend" AS numbers to
it. It would be potentially dangerous to remove AS numbers from the path as
the AS path is used in loop prevention.
Nigel Roy CCIE #1405
----- Original Message -----
From: "fwells12" <fwells12@hotmail.com>
To: <ccielab@groupstudy.com>
Sent: Wednesday, November 28, 2001 9:46 PM
Subject: BGP regular expressions
> I have been playing with regular expressions but I have not found one that
> will do this yet -if there is one...
>
> I want to take a particular AS OUT of an as path? Lets say you have some
> routes that traverse the ASs' 100 200 300 400 500 on their way to a BGP
> speaker. I would like to be able to use one of the routers in that path
to
> take its own AS out of the path. For example, using the above AS path,
can I
> make Router200 take its own AS (200) out of path it advertises to
downstream
> BGP speakers.
>
> The result I want is that Router500 (furthest downstream bgp speaker)
see's
> networks on Router100 with the following AS path: 100 300 400 500. Can
this
> be done, even though AS 200 is actally part of the physical route?
This archive was generated by hypermail 2.1.4 : Fri Jun 21 2002 - 06:45:25 GMT-3