RV: RV: AS-PATH REGEXP QUESTION!!!

From: Sergio Jimenez Arguedas (sejimenez@its.co.cr)
Date: Fri Jul 23 2004 - 17:57:05 GMT-3


James,

You are right!!!
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::
Solution3:

R1#sh ip bgp regexp ^6000(_(77[7-9]|7[8-9][0-9]|8[0-7][0-9]|88[0-8]))+
BGP table version is 323, local router ID is 192.168.88.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 10.0.3.0/24 192.168.88.6 0 0 6000 888 i
*> 10.0.6.0/28 192.168.88.6 0 0 6000 777 789
826 799 888 i
*> 10.0.6.16/28 192.168.88.6 0 0 6000 777 789
826 778 793 888 i
*> 10.0.6.32/28 192.168.88.6 0 0 6000 777 888 i
*> 10.0.6.48/28 192.168.88.6 0 0 6000 777 791
865 876 881 900 945 888 i

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::
Solution4

R1#sh ip bgp regexp ^6000(_(77[7-9]|7[8-9][0-9]|8[0-7][0-9]|88[0-8]))+$
BGP table version is 323, local router ID is 192.168.88.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 10.0.3.0/24 192.168.88.6 0 0 6000 888 i
*> 10.0.6.0/28 192.168.88.6 0 0 6000 777 789
826 799 888 i
*> 10.0.6.16/28 192.168.88.6 0 0 6000 777 789
826 778 793 888 i
*> 10.0.6.32/28 192.168.88.6 0 0 6000 777 888 i

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::

Umm, I reallty thing the task has the wrong solution, Because It says
"combination between 777 and 888".

Ok, James!!! Thanks for your time!!!

Rgds,

Sergio

-----Mensaje original-----
De: James [mailto:james@towardex.com]
Enviado el: viernes, 23 de julio de 2004 14:47
Para: Sergio Jimenez Arguedas
Asunto: Re: RV: AS-PATH REGEXP QUESTION!!!

Be sure to add $ after the regex... sorry about continuing mistakes!

Correction epoch3.1: ^6000(_(77[7-9]|7[8-9][0-9]|8[0-7][0-9]|88[0-8]))+ <--
add $

--
James Jun                                            TowardEX Technologies,
Inc.
Technical Lead                        Network Design, Consulting, IT
Outsourcing
james@towardex.com                  Boston-based Colocation & Bandwidth
Services
cell: 1(978)-394-2867           web: http://www.towardex.com , noc:
www.twdx.net


This archive was generated by hypermail 2.1.4 : Sun Aug 01 2004 - 10:12:01 GMT-3