cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
295
Views
5
Helpful
2
Replies

Regular Expressions with BGP

Samer Labaky
Level 1
Level 1

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

2 Replies 2

Jerry Ye
Cisco Employee
Cisco Employee

Hi Samer,

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

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

HTH,

jerry

Thank you a lot for your quick reply

Getting Started

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:

Review Cisco Networking products for a $25 gift card