Reference Guide

Border Gateway Protocol | 355
Related
Commands
Command
History
show ip bgp regexp
c e s z
Display the subset of BGP routing table matching the regular expressions specified.
Syntax
show ip bgp regexp regular-expression [character]
Parameters
Command Modes
EXEC
EXEC Privilege
Minimum time Displays the time interval between BGP advertisements.
For address family Displays IPv4 Unicast as the address family.
BGP neighbor Displays the name of the BGP neighbor.
Number of peers Displays the number of peers currently configured for this peer group.
Peer-group members: Lists the IP addresses of the peers in the peer group.
If the address is outbound optimized, a * is displayed next to the IP address.
Table 8-14. Command Example fields: show ip bgp peer-group
Line beginning with Description
neighbor peer-group (assigning peers) Assign peer to a peer-group.
neighbor peer-group (creating group) Create a peer group.
show ip bgp peer-group (multicast) View information on the BGP peers in a peer group.
Version 8.3.8.0 Added the add-path option to the S4810. Output on the S4810 shows ADDPATH
parameters.
Version 8.3.11.1 Introduced on the Z9000.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series
Version 7.8.1.0 Introduced support on S-Series
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.