Command Line Reference Guide

Border Gateway Protocol IPv4 (BGPv4) | 367
Related
Commands
Command
History
show ip bgp regexp
c e s
Display the subset of BGP routing table matching the regular expressions specified.
Syntax
show ip bgp regexp regular-expression [character]
Parameters
Table 13-28. Command Example fields: show ip bgp peer-group
Line beginning with Description
Peer-group Displays the peer group’s name.
Administratively shut Displays the peer group’s status if the peer group is not enabled.
If the peer group is enabled, this line is not displayed.
BGP version Displays the BGP version supported.
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.
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 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.