Troubleshooting guide
Appendix
84 Copyright © 2012 ADTRAN, Inc. 61200860L1-29.4E
Examples of Regular Expressions
.* Matches any character or sequence of characters.
3+ Matches any BGP route entry with at least one occurrence of the number 3 in the AS path.
\b300\b Matches any BGP route entry containing 300 in the AS path.
\b300$ Matches any BGP route entry with an AS path ending in 300.
^300\b.* Matches any BGP route entry with an AS path that begins with 300.
^$ Matches any BGP route entry with an AS path containing only the local AS.
^300\b.*301 Matches any BGP route entry with an AS path that starts with 300 and ends with 301.
^300$ Matches any BGP route entry with an AS path that contains only 300.