RE: Regular expression

From: Puranik, Deepak, NPONS (dpuranik@att.com)
Date: Wed Jun 18 2003 - 14:59:53 GMT-3


http://www.cisco.com/en/US/tech/tk365/tk80/technologies_tech_note09186a0080094a92.shtml

-----Original Message-----
From: Erling Bjontegard [mailto:erli-b@online.no]
Sent: Wednesday, June 18, 2003 9:55 AM
To: nsevasti@cisco.com
Cc: ccielab@groupstudy.com
Subject: Re: Regular expression

I mean the the correct expression must be ^100_[0-9]+$

asterisk * Matches 0 or more sequences of the pattern.
plus sign + Matches 1 or more sequences of the pattern.

See following link for more information
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/dial_r/drdapp/drdrapre.htm#1017426

Best Regards
Erling Bjontegard

----- Original Message -----
From: <nsevasti@cisco.com>
To: <ccielab@groupstudy.com>
Sent: Wednesday, June 18, 2003 2:57 PM
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