Yep, you guys are correct. "^" is the beginning-of-line character, and "$" is the End-of-Line character. This means that ^10$ indicates the exact string of "BOL,AS10,EOL" or an as-path that includes only AS10. In order for this regex to be of any use to you, AS10 must be a neighboring AS, otherwise this would be an impossible condition for a BGP router in your AS to match.
The Regex _10_ translates into "Anything - AS10 - Anything". This would include ^10$ as well, so it's kind of like the saying, "A square is a rectangle, but a rectangle is not a square. HTH, Kelly Cobean, CCNP, CCSA, ACSA, MCSE, MCP+I Network Engineer GRC International, Inc., an AT&T company -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Logan, Harold Sent: Thursday, April 11, 2002 2:36 AM To: [EMAIL PROTECTED] Subject: RE: ac-path access list [7:40983] Sounds right to me. If ^ matches the beginning of the AS path and $ matches the end, then ^10$ refers to routes that originated from AS 10 and have nothing after AS 10 in their path. -----Original Message----- From: Anthony Pace [mailto:[EMAIL PROTECTED]] Sent: Wed 4/10/2002 6:01 PM To: [EMAIL PROTECTED] Cc: Subject: Re: ac-path access list [7:40983] A. will catch any routes which have ever traversed AS-10 B. will catch only routes which have originated in 10 and have just come into your AS from AS-10 (meaning you would be directly connected to AS-10. Does anyone else interperete B differently than this?? Anthony Pace ""Steven A. Ridder"" wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there any difference in these two commands? > > A. ip as-path access-list deny _10_ > > B. ip as-path access-list deny ^10$ > > If I understand corerctly, they both deny AS 10, and only 10. > > -- > > RFC 1149 Compliant. > Get in my head: > http://sar.dynu.com Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=41190&t=40983 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

