Reference Guide
Border Gateway Protocol IPv4 (BGPv4) | 391
Parameters
Command Modes
EXEC
EXEC Privilege 
Example
FTOS#show ip bgp regexp ^2914+
BGP table version is 3700481, local router ID is 63.114.8.35
Status codes: s suppressed, S stale, d damped, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external, r - redistributed, n - network
Origin codes: i - IGP, e - EGP, ? - incomplete
 Network  Next Hop Metric  LocPrf Weight Path
*>I 3.0.0.0/8  1.1.1.2 0  100 0 2914 1239 80 i
*>I 4.0.0.0/8  1.1.1.2 0  100 0 2914 3356 i
*>I 4.17.225.0/24  1.1.1.2 0  100 0 2914 11853 11853 11853 11853 11853 6496
*>I 4.17.226.0/23  1.1.1.2 0  100 0 2914 11853 11853 11853 11853 11853 6496
*>I 4.17.251.0/24  1.1.1.2 0  100 0 2914 11853 11853 11853 11853 11853 6496
*>I 4.17.252.0/23  1.1.1.2 0  100 0 2914 11853 11853 11853 11853 11853 6496
*>I 4.19.2.0/23  1.1.1.2 0  100 0 2914 701 6167 6167 6167 i
*>I 4.19.16.0/23  1.1.1.2 0  100 0 2914 701 6167 6167 6167 i
*>I 4.21.80.0/22  1.1.1.2 0  100 0 2914 174 4200 16559 i
*>I 4.21.82.0/24  1.1.1.2 0  100 0 2914 174 4200 16559 i
*>I 4.21.252.0/23  1.1.1.2 0  100 0 2914 701 6389 8063 19198 i
*>I 4.23.180.0/24  1.1.1.2 0  100 0 2914 3561 6128 30576 i
*>I 4.36.200.0/21  1.1.1.2 0  100 0 2914 14742 11854 14135 i
*>I 4.67.64.0/22  1.1.1.2 0  100 0 2914 11608 19281 i
*>I 4.78.32.0/21  1.1.1.2 0  100 0 2914 3491 29748 i
*>I 6.1.0.0/16  1.1.1.2 0  100 0 2914 701 668 i
*>I 6.2.0.0/22  1.1.1.2 0  100 0 2914 701 668 i
*>I 6.3.0.0/18  1.1.1.2 0  100 0 2914 701 668 i
regular-expression [character]
Enter a regular expression then use one or a combination of 
the following characters to match:
•
. = (period) any single character (including a white 
space)
•
* = (asterisk) the sequences in a pattern (0 or more 
sequences)
•
+ = (plus) the sequences in a pattern (1 or more 
sequences)
•
? = (question mark) sequences in a pattern (either 0 or 1 
sequences). You must enter an escape sequence 
(CTRL+v) prior to entering the ? regular 
expression.
•
[ ] = (brackets) a range of single-character patterns.
•
( ) = (parenthesis) groups a series of pattern elements 
to a single element
•
{ } = (braces) minimum and the maximum match count
•
^ = (caret) the beginning of the input string. If the caret 
is used at the beginning of a sequence or range, it 
matches on everything BUT the characters specified.
•
$ = (dollar sign) the end of the output string.
Table 9-15. Command Example fields: show ip bgp regexp 
Field Description
Network Displays the destination network prefix of each BGP route.
Next Hop Displays the next hop address of the BGP router. 
If 0.0.0.0 is listed in this column, then non-BGP routes exist in the router’s routing 
table.










