Re:BGP regular expression Question

From: Angelo De Guzman (a.deguzman@ph.fujitsu.com)
Date: Thu Mar 06 2008 - 04:39:00 ARST


Hi Mike,
   The first one is match AS54 read as "start and ends with AS54". The next one
means match anything that starts with AS54 and dont care what is next.

http://www.cisco.
com/en/US/partner/docs/ios/11_0/router/command/reference/rregexp.html

HTH

Mike Haddad (3/6/2008 2:20 PM):
>Hello,
>
> I have some confusion between the below regular expressions:
>show ip bgp reg ^54$
>show ip bgp reg ^54_
>
>Both of the above are giving me same routes, routes learned from AS54.
>However, the first second command gives me the learned routes along with the
>full AS path and the first one only shows the AS 54 in the AS path.
>
>Thanks in advance,
>
>
>_________________________________________________________________
>
>_______________________________________________________________________
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue Apr 01 2008 - 07:53:52 ART