02-17-2008 04:15 AM - edited 03-03-2019 08:44 PM
02-17-2008 04:34 AM
Hi,
This is called a "regular expression".
In BGP is used for route filtering in ip as-path access-lists.
Check this out to learn more about regular expressions:
Cheers:
Istvan
02-17-2008 04:40 AM
Istvan
I know its regular expression. Please explain the meaning of the expression.
regards
:S
02-17-2008 05:00 AM
Well, I guess the intent of the post above was to provide you a way to learn regular expression basic, so you could understand by yourself what it means. And a next time, you don't depend by anybody to do your work.
02-17-2008 08:32 AM
Hi Paolo,
Thank you for your supporting contribution!
I see your mind is set on helping people learn and understand the technology.
Best regards:
Istvan
02-17-2008 05:00 AM
Hi,
This means to match any network originated from AS150 and directly attached to AS150.
Regards,
Dandy
02-17-2008 05:03 AM
thanks dandy
regards
:S
02-17-2008 05:04 AM
dandy i am clear about reg expression but not able to break the above mentioned. It will definately behelpful to me if you clear the meanings.
regards
shivlu
02-17-2008 05:07 AM
???
Ok, here's a sample (bottom of the link) and brief explanation http://www.cisco.com/warp/public/459/26.html
02-17-2008 05:17 AM
Thanks medan this is what actually i am looking for.
^4_[0-9]*_[0-9]*$
so it means any network that is directly connected to 4 and so on.
Please answer one more after that i will rate you.Donot take it otherwise i am joking.
regards
shivlu
02-17-2008 07:41 AM
Hi,
I think that is an invalid regular expression.
If you have a router connected to internet running BGP, you can check it by yourself by executing "show ip bgp regexp [user_regular_expression]".
Else, you can use any BGP Looking Glass that allows you to do that. i.e. you can use RIPE-NCC Looking Glass http://www.ris.ripe.net/cgi-bin/lg/index.cgi
Never mind the rating, I can go to the barber, they give free candy for every hair-cut.
Regards,
Dandy
02-17-2008 10:53 AM
Hi,
If you need Network originated in As 4 and so on it should be:
^4_
HTH
Mohamed
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: