Command Line Reference Guide
Related
Commands
neighbor peer-group (assigning peers) – assigns a peer to a peer-group.
neighbor peer-group (creating group) – creates a peer group.
show ip bgp peer-group (multicast) – views information on the BGP peers in a peer group.
show ip bgp regexp
Display the subset of the BGP routing table matching the regular expressions specified.
S5000
Syntax
show ip bgp regexp regular-expression [character]
Parameters
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).
NOTE: 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 you use the
caret at the beginning of a sequence or range, it matches on
everything BUT the characters specified.
• $ = (dollar sign) the end of the output string.
Command Modes
• EXEC
• EXEC Privilege
Command History
Version 9.0(1.3) Introduced on the S5000.
Usage
Information
The following describes the show ip bgp regexp command shown in the Example
below.
Field Description
Network Displays the destination network prefix of each BGP route.
331