Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Regular Expressions with BGP

Hi,

i need the help of an expert Regular Expression guy :)

i just need to confirm the below regular expressions:

^111_[0-9]+$ -> AS111 directly connected customers

^111(_[0-9]+)?$ -> AS111 and/or its directly connected customers

^[0-9]+$ -> My Directly connected ASs

^[0-9]+(_[0-9])?$ -> My Directly connected ASs and/or their customers

  • WAN Routing and Switching
2 REPLIES
Cisco Employee

Re: Regular Expressions with BGP

Hi Samer,

This is correct except the last one, it should be:

^[0-9]+(_[0-9]+)?$

HTH,

jerry

New Member

Re: Regular Expressions with BGP

Thank you a lot for your quick reply

95
Views
5
Helpful
2
Replies
This widget could not be displayed.