Dell Command Line Reference Guide for the S4048–ON System 9.14.2.5

PDF

show ip bgp regexp

Display the subset of the BGP routing tables matching the regular expressions specified.

Syntax
show ip bgp [vrf vrf-name] regexp regular-expression [character]
Parameters
vrf vrf-name
Enter the keyword vrf and then the name of the VRF to view the subset of BGP routing tables that match the regular expression specified on that VRF.
NOTE: You can use this attribute to view the subset of BGP routing tables that match the regular expression that is specified on either a default or a non-default VRF.
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 (zero or more sequences).
  • + = (plus) the sequences in a pattern (one or more sequences).
  • ? = (question mark) sequences in a pattern (either zero or one sequences).
    NOTE: 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

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000–ON.
9.4.(0.0)
Added support for VRF.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
7.8.1.0
Introduced on the S-Series.
7.7.1.0
Introduced on the C-Series.
Usage Information

The following describes the show ip bgp regexp command shown in the following example.

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.
Metric
Displays the BGP router’s metric, if assigned.
LocPrf
Displays the BGP LOCAL_PREF attribute for the route.
Weight
Displays the route’s weight
Path
Lists all the AS paths the route passed through to reach the destination network.
Example
DellEMC# show ip bgp regexp ^200
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
BGP local router ID is 192.168.11.5
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external, r - redistributed
             n - network,  D - denied,  S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete

    Network            Next Hop            Metric     LocPrf Weight Path
*>  55.0.0.0/24        172.16.0.2                                 0 200 i
*>  66.0.0.0/24        172.16.0.2                                 0 200 i
DellEMC#

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\