C613-50631-01 Rev A Command Reference for IE340 Series 1586
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
SHOW
IP BGP REGEXP (BGP ONLY)
show ip bgp regexp (BGP only)
Overview Use this command to display routes matching the AS path regular expression
within an IPv4 environment. Use the show bgp ipv6 regexp (BGP4+ only)
command to display routes matching the AS path regular expression within an
IPv6 environment.
Use the regular expressions listed below with the <expression> parameter:
For information on filtering and saving command output, see the “Getting Started
with AlliedWare Plus” Feature Overview and Configuration Guide.
Syntax
show ip bgp regexp <expression>
Mode User Exec and Privileged Exec
Examples
awplus# show ip bgp regexp myexpression
Related
commands
show bgp ipv6 regexp (BGP4+ only)
Command
changes
Added to AlliedWare Plus prior to 5.4.6-1
Version 5.4.6-2.1: VRF-lite support added to BGP for AR-series products
Symbol Character Meaning
^ Caret Used to match the beginning of the input string. When used
at the beginning of a string of characters, it negates a pattern
match.
$ Dollar sign Used to match the end of the input string.
. Period Used to match a single character (white spaces included).
* Asterisk Used to match none or more sequences of a pattern.
+ Plus sign Used to match one or more sequences of a pattern.
? Question
mark
Used to match none or one occurrence of a pattern.
_ Underscore Used to match spaces, commas, braces, parenthesis, or the
beginning and end of an input string.
[ ] Brackets Specifies a range of single-characters.
- Hyphen Separates the end points of a range.
Parameter Description
<expression> Specifies a regular-expression to match the BGP AS paths.