Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerEdge FN I/O Module Command Line Reference Guide 9.10(0.0)

PDF

show ip bgp neighbors

Allows you to view the information BGP neighbors exchange.

Syntax show ip bgp [ ipv4 unicast] neighbors [ ip-address [advertised-routes | dampened-routes | detail | flap-statistics | routes | {received-routes [ network [ network-mask]]} | {denied-routes [ network [ network-mask]]}]
Parameters
ipv4 unicast (OPTIONAL) Enter the keywords ipv4 unicast to view information only related to ipv4 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.
received-routes [ network [ network-mask] (OPTIONAL) Enter the keywords received-routes then either the network address (in dotted decimal format) or the network mask (in slash prefix format) to view all 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
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information

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

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 ( )
Dell#show ip bgp neighbors
                                             BGP neighbor is 10.10.10.1, remote AS 23456, external link
                                             BGP version 4, remote router ID 10.10.10.1
                                             BGP state ESTABLISHED, in this state for 00:00:35
                                             . . .
                                             Capabilities received from neighbor for IPv4 Unicast :
                                             MULTIPROTO_EXT(1)
                                             ROUTE_REFRESH(2)
                                             4_OCTECT_AS(65)
                                             ADD_PATH (69)
                                             CISCO_ROUTE_REFRESH(128)
                                          
Example
Dell#show ip bgp neighbors
                                             
                                             BGP neighbor is 100.10.10.2, remote AS 200, external link
                                             BGP version 4, remote router ID 192.168.2.101
                                             BGP state ESTABLISHED, in this state for 00:16:12
                                             Last read 00:00:12, last write 00:00:03
                                             Hold time is 180, keepalive interval is 60 seconds
                                             Received 1404 messages, 0 in queue
                                             3 opens, 1 notifications, 1394 updates
                                             6 keepalives, 0 route refresh requests
                                             Sent 48 messages, 0 in queue
                                             3 opens, 2 notifications, 0 updates
                                             43 keepalives, 0 route refresh requests
                                             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)
                                             CISCO_ROUTE_REFRESH(128)
                                             
                                             Capabilities advertised to neighbor for IPv4 Unicast :
                                             MULTIPROTO_EXT(1)
                                             ROUTE_REFRESH(2)
                                             ROUTE_REFRESH(2)
                                             GRACEFUL_RESTART(64)
                                             CISCO_ROUTE_REFRESH(128)
                                             
                                             Route map for incoming advertisements is test
                                             Maximum prefix set to 4 with threshold 75
                                             
                                             For address family: IPv4 Unicast
                                             BGP table version 34, neighbor version 34
                                             5 accepted prefixes consume 20 bytes
                                             Prefix advertised 0, denied 4, withdrawn 0
                                             
                                             Prefixes accepted 1 (consume 4 bytes), withdrawn 0 by peer
                                             Prefixes advertised 0, rejected 0, withdrawn 0 from peer
                                             
                                             Connections established 2; dropped 1
                                             Last reset 00:18:21, due to Maximum prefix limit reached
                                          
Example (Advertised-Routes)
Dell>show ip bgp neighbors 192.14.1.5 advertised-routes
                                             
                                             BGP table version is 74103, local router ID is 33.33.33.33
                                             Status codes: s suppressed, S stale, d damped, h history, * valid, > best
                                             Path source: I - internal, a - aggregate, c - confed-external, r - redistributed,
                                             n - network
                                             Origin codes: i - IGP, e - EGP, ? - incomplete
                                             
                                             Network Next     Hop            Metric LocPrf  Weight Path
                                             *>r 1.10.1.0/24     0.0.0.0         5000             32768 ?
                                             *>r 1.11.0.0/16     0.0.0.0         5000             32768 ?
                                             .....
                                             ...
                                             *>I 223.94.249.0/24 223.100.4.249   0        100         0 ?
                                             *>I 223.94.250.0/24 223.100.4.250   0        100         0 ?
                                             *>I 223.100.0.0/16  223.100.255.254 0        100         0 ?
                                             Total number of prefixes: 74102
                                          
Example (Received-Routes)
BGP table version is 13, local router ID is 120.10.10.1
                                             Status codes: s suppressed, S stale, d damped, 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
                                             D   70.70.21.0/24 100.10.10.2             0   0 100 200 ?
                                             D   70.70.22.0/24 100.10.10.2             0   0 100 200 ?
                                             D   70.70.23.0/24 100.10.10.2             0   0 100 200 ?
                                             D   70.70.24.0/24 100.10.10.2             0   0 100 200 ?
                                             *>  70.70.25.0/24 100.10.10.2             0   0 100 200 ?
                                             *>  70.70.26.0/24 100.10.10.2      0      0   0 100 200 ?
                                             *>  70.70.27.0/24 100.10.10.2      0      0   0 100 200 ?
                                             *>  70.70.28.0/24 100.10.10.2      0      0   0 100 200 ?
                                             *>  70.70.29.0/24 100.10.10.2      0      0   0 100 200 ?
                                             Dell#
                                          
Example (denied-routes)
Dell#show ip bgp neighbors 100.10.10.2 denied-routes
                                             4 denied paths using 205 bytes of memory
                                             BGP table version is 34, local router ID is 100.10.10.2
                                             Status codes: s suppressed, S stale, d damped, 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
                                             D  70.70.21.0/24  100.10.10.2             0    0 100 200 ?
                                             D  70.70.22.0/24  100.10.10.2             0    0 100 200 ?
                                             D  70.70.23.0/24  100.10.10.2             0    0 100 200 ?
                                             D  70.70.24.0/24  100.10.10.2             0    0 100 200 ?
                                             Dell#
                                          
Related Commands show ip bgp — views the current BGP routing table.

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