RE: Regular expression

From: MCDONALD, ROMAN (SBCSI) (rx1814@sbc.com)
Date: Wed Jun 18 2003 - 10:32:41 GMT-3


^100.*$

-----Original Message-----
From: nsevasti@cisco.com [mailto:nsevasti@cisco.com]
Sent: Wednesday, June 18, 2003 7:58 AM
To: ccielab@groupstudy.com
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



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