Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

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

show ip bgp neighbors

Allows you to view the information BGP neighbors exchange.

Syntax
show ip bgp [vrf vrf-name] [ipv4 {multicast | unicast} | ipv6 unicast] neighbors [ip-address [advertised-routes | dampened-routes | detail | flap-statistics | routes | all {received-routes [network [network-mask]]} | {denied-routes [network [network-mask]]}]
Parameters
vrf vrf-name
(OPTIONAL) Enter the keyword vrf and then the name of the VRF to view information exchanged by BGP neighbors corresponding to that VRF.
NOTE You can use this attribute to view information exchanged by BGP neighbors that correspond to either a default or a non-default VRF.
ipv4 multicast
(OPTIONAL) Enter the keyword ipv4 followed by the keyword multicast to view information related only to ipv4 multicast routes.
ipv4 unicast
(OPTIONAL) Enter the keyword ipv4 followed by the keyword unicast to view information related only to ipv4 unicast routes.
ipv6 unicast
(OPTIONAL) Enter the keyword ipv6 followed by the keyword unicast to view information related only to ipv6 unicast routes.
ip-address
(OPTIONAL) Enter the IP address of the neighbor to view only BGP information exchanged with that neighbor.
advertised-routes
(OPTIONAL) Enter the keywords advertised-routes to view only the routes the neighbor sent.
dampened-routes
(OPTIONAL) Enter the keywords dampened-routes to view information on dampened routes from the BGP neighbor.
detail
(OPTIONAL) Enter the keyword detail to view neighbor-specific internal information for the IPv4 Unicast address family.
flap-statistics
(OPTIONAL) Enter the keywords flap-statistics to view flap statistics on the neighbor’s routes.
routes
(OPTIONAL) Enter the keyword routes to view only the neighbor’s feasible routes.
all {received-routes [network [network-mask]}
(OPTIONAL) Enter the keywords all {received-routes} then either the network address alone (in dotted decimal format) or the network address along with the network mask (in slash prefix format) to view all the information received from neighbors.
NOTE Configure the neighbor soft-reconfiguration inbound command prior to viewing all the information received from the neighbors.
denied-routes [network [network-mask]
(OPTIONAL) Enter the keywords denied-routes then either the network address (in dotted decimal format) or the network mask (in slash prefix format) to view all information on routes denied via neighbor inbound filters.
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(0.0)
Introduced the [all] 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)
Added the ipv4 multicast and ipv6 unicast parameters.
9.4.(0.0)
Added support for VRF.
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.
7.5.1.0
Added the detail option. Output now displays the default MED value.
7.2.1.0
Added the received and denied route options.
6.3.10
The output is changed to display the total number of advertised prefixes.
Usage Information

After a peer reset, the contents of the notification log messages is displayed in hex values for debugging.

The neighbor information that this command displays does not include counts corresponding to ignored prefixes and updates. However, the martian case is an exception where neighbor information corresponding to ignored updates is displayed.

BGP shows the exact information that is exchanged between the BGP peers. It also indicates whether or not this information is received by the BGP peer.

The following describes the show ip bgp neighbors command shown in the following examples.

The Lines Beginning with:
Description
BGP neighbor
Displays the BGP neighbor address and its AS number. The last phrase in the line indicates whether the link between the BGP router and its neighbor is an external or internal one. If they are located in the same AS, the link is internal; otherwise the link is external.
BGP version
Displays the BGP version (always version 4) and the remote router ID.
BGP state
Displays the neighbor’s BGP state and the amount of time in hours:minutes:seconds it has been in that state.
Last read
This line displays the following information:
  • last read is the time (hours:minutes:seconds) the router read a message from its neighbor
  • hold time is the number of seconds configured between messages from its neighbor
  • keepalive interval is the number of seconds between keepalive messages to help ensure that the TCP session is still alive.
Received messages
This line displays the number of BGP messages received, the number of notifications (error messages), and the number of messages waiting in a queue for processing.
Sent messages
The line displays the number of BGP messages sent, the number of notifications (error messages), and the number of messages waiting in a queue for processing.
Received updates
This line displays the number of BGP updates received and sent.
Soft reconfiguration
This line indicates that soft reconfiguration inbound is configured.
Minimum time
Displays the minimum time, in seconds, between advertisements.
(list of inbound and outbound policies)
Displays the policy commands configured and the names of the Route map, AS-PATH ACL, or Prefix list configured for the policy.
For address family:
Displays the IPv4 Unicast as the address family.
BGP table version
Displays which version of the primary BGP routing table the router and the neighbor are using.
accepted prefixes
Displays the number of network prefixes the router accepts and the amount of memory used to process those prefixes.
Prefix advertised
Displays the number of network prefixes advertised, the number rejected, and the number withdrawn from the BGP routing table.
Connections established
Displays the number of TCP connections established and dropped between the two peers to exchange BGP information.
Last reset
Displays the amount of time since the peering session was last reset. Also states if the peer resets the peering session. If the peering session was never reset, the word never is displayed.
Local host:
Displays the peering address of the local router and the TCP port number.
Foreign host:
Displays the peering address of the neighbor and the TCP port number.
Example
DellEMC# show ip bgp neighbors 172.16.0.2
BGP neighbor is 172.16.0.2, remote AS 200, external link
  Member of peer-group port0 for session parameters
  BGP remote router ID 172.16.0.2
  BGP state ESTABLISHED, in this state for 00:13:55
  Last read 00:00:03, Last write 00:00:55
  Hold time is 180, keepalive interval is 60 seconds
  Received 50 messages, 0 in queue
     1 opens, 0 notifications, 34 updates
     15 keepalives, 0 route refresh requests
  Sent 18 messages, 0 in queue
     1 opens, 0 notifications, 0 updates
     16 keepalives, 0 route refresh requests

  Route refresh request: received 0, sent messages 1
  Minimum time between advertisement runs is 30 seconds
  Minimum time before advertisements start is 0 seconds

  Capabilities received from neighbor for IPv4 Unicast :
    MULTIPROTO_EXT(1)
    ROUTE_REFRESH(2)



  Capabilities advertised to neighbor for IPv4 Unicast :
    MULTIPROTO_EXT(1)
    ROUTE_REFRESH(2)
    ADD_PATH(69)
    CISCO_ROUTE_REFRESH(128)




  For address family: IPv4 Unicast
  BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
  InQ : Added 0, Replaced 0, Withdrawn 0
  OutQ : Added 0, Withdrawn 0
  Allow local AS number 0 times in AS-PATH attribute
  Prefixes accepted 2, withdrawn 15 by peer, martian prefixes ignored 0
  Prefixes advertised 0, denied 0, withdrawn 0 from peer

  Connections established 1; dropped 0
  Last reset never
Local host: 172.16.0.1, Local port: 58145
Foreign host: 172.16.0.2, Foreign port: 179

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