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

PDF

show ip bgp

View the current BGP IPv4 routing table for the system.

Syntax
show ip bgp [vrf vrf-name] [ipv4 {unicast | multicast} | ipv6 {unicast}] [network [network-mask] [longer-prefixes]] [cluster-list cluster-id] [community community-number] [community-list community-list-name] [dampened-paths] [extcommunity-list list name] [filter-list as-path-name] [flap-statistics [ip-address [mask]]] [neighbors [all {received-routes}] [network[network-mask]]] [next-hop] [paths] [peer-group peer-group-name] [regexp regular-expression] [summary]
Parameters
vrf vrf-name
(OPTIONAL) Enter the keyword vrf and then the name of the VRF to view ipv4–unicast route information corresponding to that VRF.
ipv4 unicast
(OPTIONAL) Enter the keywords ipv4 unicast to view information only related to ipv4 unicast routes.
ipv4 multicast
(OPTIONAL) Enter the keywords ipv4 multicast to view information only related to ipv4 multicast routes.
ipv6 unicast
(OPTIONAL) Enter the keywords ipv6 unicast to view information only related to ipv6 unicast routes.
network
(OPTIONAL) Enter the network address (in dotted decimal format) of the BGP network to view information only on that network.
network-mask
(OPTIONAL) Enter the network mask (in slash prefix format) of the BGP network address.
longer-prefixes
(OPTIONAL) Enter the keywords longer-prefixes to view all routes with a common prefix.
cluster-list cluster-id
(OPTIONAL) Enter the keyword cluster-list then the cluster-ID to display the routes matching the cluster.
community community-number
(OPTIONAL) Enter the keyword community then the community–number to display the routes matching the communities.
community-list community-list-name
(OPTIONAL) Enter the keyword community-list then the community–list–name to display the routes matching the community–list.
dampened-paths
(OPTIONAL) Enter the keyword dampened-paths to display the paths suppressed due to dampening.
extcommunity-list list name
(OPTIONAL) Enter the keyword extcommunity-list then the list name to display the routes matching the extended community-list.
filter-list as-path-name
(OPTIONAL) Enter the keyword filter-list then the as-path-name to display the routes conforming to the filter–list.
flap–statistics
(OPTIONAL) Enter the keyword flap-statistics to display flap statistics of the routes.
neighbors
(OPTIONAL) Enter the keyword neighbors to display the detailed information on TCP and BGP neighbor connections.
neighbors [all {received-routes}]
(OPTIONAL) Enter the keyword neighbors [all {received-routes}] to display all the received routes both accepted and rejected from all the IPv4 or IPv6 neighbors.
next-hop
(OPTIONAL) Enter the keyword next-hop to view all the next-hop information on the learnt routes.
paths
(OPTIONAL) Enter the keyword paths to view the BGP path attributes in the BGP database.
peer-group peer-group-name
(OPTIONAL) Enter the keyword peer-group then the peer–group–name to view the information on the BGP peers in a peer group.
regexp regular-expression
(OPTIONAL) Enter the keyword regexp then the regular expressions to display BGP information based on a regular expression.
summary
(OPTIONAL) Enter the keyword summary to display the summary of BGP neighbor status.
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.14(1.0)
Introduced the [all {received-routes}] option for IPv4 and IPv6 neighbors on S4810 and S4820T.
9.14(0.0)
Introduced the [all {received-routes}] option for IPv4 and IPv6 neighbors.
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.8.0
Added the add-path option to the S4810. Output on the S4810 shows the ADDPATH parameters.
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
When you enable the bgp non-deterministic-med command, the show ip bgp command output for a BGP route does not list the INACTIVE reason.

In BGP, this command displays the exact reason why the route is discarded.

The following describes the show ip bgp 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 local routes exist in the routing table.
Metric
Displays the BGP route’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 the route passed through to reach the destination network.

The show ip bgp command displays the dmzlink-dw details only if dmzlink-bw is enabled using the bgp dmzlink-dw command.

Example
DellEMC# show ip bgp
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

All the show and debugs commands display the link band width extended-community prefixed with DMZ-Link-bw along with other extended communities.
DellEMC# show ip bgp 3.3.3.0/24
BGP routing table entry for 3.3.3.0/24
Paths: (1 available, table Default-IP-Routing-Table.)
Not advertised to any peer
Received from :
 1.1.1.2 (3.3.3.1)   Best
  AS_PATH :
  Next-Hop : 1.1.1.2, Cost : 0
  Origin IGP, Metric  0, LocalPref  100, Weight  0, internal
 Extended Communities :
  DMZ-Link Bw: 2000 kbytes*
Following is the example for displaying all the received routes from all IPv4 neighbors:
DellEMC# show ip bgp vrf test ipv4 unicast neighbors all received-routes
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
BGP local router ID is 1.1.1.1
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
 ID 110.1.1.0/24       11.1.1.2                 0        100      0 ?
*>I 111.1.1.0/24       11.1.1.2                 0        100      0 ?
 ID 112.1.1.0/24       11.1.1.2                 0        100      0 ?
*>I 113.1.1.0/24       11.1.1.2                 0        100      0 ?
 ID 114.1.1.0/24       11.1.1.2                 0        100      0 ?
*>I 115.1.1.0/24       11.1.1.2                 0        100      0 ?
 ID 116.1.1.0/24       11.1.1.2                 0        100      0 ?
 ID 117.1.1.0/24       11.1.1.2                 0        100      0 ?
 ID 118.1.1.0/24       11.1.1.2                 0        100      0 ?
 ID 119.1.1.0/24       11.1.1.2                 0        100      0 ?
 ID 120.1.1.0/24       11.1.1.2                 0        100      0 ?
Following is the example for displaying all the received routes from all IPv6 neighbors:
DellEMC# show ip bgp ipv6 unicast neighbors all received-routes 
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0 
BGP local router ID is 11.1.1.1
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
*>I 200::/64           12::2                               0      0 i
*>I 200:0:0:1::/64     12::2                               0      0 i
*>I 200:0:0:2::/64     12::2                               0      0 i
*>I 200:0:0:3::/64     12::2                               0      0 i
*>I 200:0:0:4::/64     12::2                               0      0 i
*>I 200:0:0:5::/64     12::2                               0      0 i
*>I 200:0:0:6::/64     12::2                               0      0 i
*>I 200:0:0:7::/64     12::2                               0      0 i
*>I 200:0:0:8::/64     12::2                               0      0 i
*>I 200:0:0:9::/64     12::2                               0      0 i
*>I 200:0:0:a::/64     12::2                               0      0 i
*>I 200:0:0:b::/64     12::2                               0      0 i
*>I 200:0:0:c::/64     12::2                               0      0 i
*>I 200:0:0:d::/64     12::2                               0      0 i
*>I 200:0:0:e::/64     12::2                               0      0 i
*>I 200:0:0:f::/64     12::2                               0      0 i
*>I 200:0:0:10::/64    12::2                               0      0 i
*>I 200:0:0:11::/64    12::2                               0      0 i
*>I 200:0:0:12::/64    12::2                               0      0 i
*>I 200:0:0:13::/64    12::2                               0      0 i
Related Commands

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: <>()\