Re: Regular expression

From: Chris Home (clarson52@comcast.net)
Date: Wed Jun 18 2003 - 15:36:21 GMT-3


Just a guess. I would be looking for the right answer too but...

route-map something in

neigh x.x.x.x route-map something in

route-map something permit 10
match add as-path 2

ip as-path access-list 2 permit ^100_

I would think this would allow anything in that originated from 100 and
include anything it is dorectly connected too.

----- Original Message -----
From: <nsevasti@cisco.com>
To: <ccielab@groupstudy.com>
Sent: Wednesday, June 18, 2003 8:57 AM
Subject: Regular expression

> Hi,
> can anyone help with a regular expression that would permit bgp to accept
from a neighbor(EBGP) using an ip as-path access-list just the routes that
originate in the neighbor's AS and it's DIRECTLY connected AS's?
>
> Like if the neighbor is in AS 100 and directly connected with it are 2000
and 30000, the expression would match
>
> 100
> 100 2000
> 100 30000
>
> and any other AS's DIRECTLY connected to 100
>
> Bye,
> Nark
>
>
> _______________________________________________________________________
> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Jul 04 2003 - 11:11:00 GMT-3