Monitoring the Status of All BGP Neighbors

Purpose

Display summarized status of all BGP neighbors.

The show ip bgp summary and show bgp ipv6 summary commands display similar information.

Action

To display summarized status of all BGP neighbors:

host1#show bgp ipv6 summary
Local router ID 10.13.13.13, local AS 400
  Administrative state is Start
  BGP Operational state is Up
  Shutdown in overload state is disabled
  Default local preference is 100
  IGP synchronization is disabled
  Default originate is disabled
  Always compare MED is disabled
  Compare MED within confederation is disabled
  Advertise inactive routes is disabled
  Advertise best external route to internal peers is disabled
  Enforce first AS is disabled
  Missing MED as worst is disabled
  Route flap dampening is disabled
  Maximum number of equal-cost EBGP paths is 2
  Maximum number of equal-cost IBGP paths is 2
  Log neighbor changes is disabled
  Fast External Fallover is disabled
  No maximum received AS-path length
  BGP administrative distances are 20 (ext), 200 (int), and 200 (local)
  Client-to-client reflection is enabled
  Cluster ID is 10.13.13.13
  Route-target filter is enabled
  Default IPv4-unicast is enabled
  Redistribution of iBGP routes is disabled
  Graceful restart is globally disabled
  Global graceful-restart restart time is 120 seconds
  Global graceful-restart stale paths time is 360 seconds
  Graceful-restart path selection defer time is 360 seconds
  This platform supports only the receiver role of graceful restart
  Route Distinguisher: 100:11
  Import route map: test2-import-map
  Export route map: test1-export-map (cannot filter routes)
  Global import route map: test3-global-import-map
  103 routes imported from global table (max 5000 routes allowed)
  Global export route map: test4-global-export-map
  Local-RIB version 7. FIB version 7.
                                                Messages  Messages  Prefixes
Neighbor           AS State       Up/down time      Sent  Received  Received
11.11.11.11       400 Established     00:36:19        78        81         2
12.12.12.12       400 Established     00:36:21        78        78         1
103.103.103.3     300 Established     00:36:34        85        80         2 

To display the status of next hop reachability checking by specifying vpnv4:

host1#show ip bgp vpnv4 all summary 
Local router ID 10.13.5.19, local AS 100
  Administrative state is Start
  BGP Operational state is Up
 ...
  Default IPv4-unicast is enabled
  Redistribution of iBGP routes is disabled
  Check reachability of next-hops for VPN routes is enabled
 ...

To display the status of fields related to enabling local AS numbers to be received in routes:

host1#show ip bgp summary fields remote-as state rib-version 
send-queue-length more-in-queue 
                                            Send More
Neighbor           AS State         RIB Ver    Q InQ
2.2.2.2           100 Established         2    0 no   

Meaning

Table 47 lists the show bgp ipv6 summary command output fields.

Table 47: show bgp ipv6 summary Output Fields

Field Name

Field Description

Local router ID

Router ID of the local router

local AS

Local autonomous system number

Administrative state

BGP administrative state, start or stop

BGP Operational state

Operational state, up, down, or overload

Shutdown in overload state

Status, enabled or disabled

Default local preference

Default value for local preference

IGP synchronization

Synchronization status, enabled or disabled

Default originate

Whether network 0.0.0.0 is redistributed into BGP (enabled) or not (disabled)

Auto-summary

Status of auto summarization of routes redistributed into BGP

Always compare MED

Status, enabled or disabled

Compare MED within confederation

Status, enabled or disabled

Advertise inactive routes

Status, enabled or disabled

Advertise best external route to internal peer

Status, enabled or disabled

Enforce first AS

Status, enabled or disabled

Missing MED as worst

Status, enabled or disabled

Route flap dampening

Status, enabled or disabled

Maximum number of equal-cost EBGP paths

Number of paths

Maximum number of equal-cost IBGP paths

Number of paths

Log neighbor changes

Status, enabled or disabled

Fast External Fallover

Status, enabled or disabled

No maximum received AS-path length

Indicates whether limit is set for AS-path length and, if set, the limit

BGP administrative distances

Distances for external, internal, and local BGP routes

Router is a route reflector

Indicates whether the router has been configured as a route reflector

Client-to-client reflection

Whether client-to-client reflection is configured (enabled) or not (disabled)

Cluster ID

Identifying number for cluster ID

Route-target filter

Status, enabled or disabled

Default IPv4-unicast

Status, enabled or disabled

Redistribution of iBGP routes

Status, enabled or disabled

Check reachability of next-hops for VPN routes

Status, enabled or disabled

Graceful restart

Status, enabled or disabled

Global graceful-restart restart time

Time in seconds

Global graceful-restart stale paths time

Time in seconds

Graceful-restart path selection defer time

Time in seconds

Route Distinguisher

RD assigned to the VRF

Confederation ID

Confederation ID

Confederation peers

Confederation peers

Import route map

Route map associated with the VRF that filters and modifies routes imported to the VRF from the global BGP VPN RIB. The map applies to both IPv4 and IPv6 routes, unless the field name is preceded by IPv4 (applies the map to only IPv4 routes) or IPv6 (applies the map to only IPv6 routes).

Export route map

Route map associated with the VRF that modifies and filters routes exported by the VRF to the global BGP VPN RIB. The map applies to both IPv4 and IPv6 routes, unless the field name is preceded by IPv4 (applies the map to only IPv4 routes) or IPv6 (applies the map to only IPv6 routes). The can filter routes text appears only if the filter keyword was issued for export map.

Global import route map

Route map associated with the VRF that modifies routes imported to the VRF from the global BGP non-VPN RIB. The map applies to both IPv4 and IPv6 routes, unless the field name is preceded by IPv4 (applies the map to only IPv4 routes) or IPv6 (applies the map to only IPv6 routes).

routes imported from global table

Number of routes imported from the global BGP non-VPN RIB; also lists the maximum number of routes that can be imported

Global export route map

Route map associated with the VRF that modifies routes exported by the VRF to the global BGP non-VPN RIB. The map applies to both IPv4 and IPv6 routes, unless the field name is preceded by IPv4 (applies the map to only IPv4 routes) or IPv6 (applies the map to only IPv6 routes).

Local-RIB version

Number that is increased by one each time a route in that RIB is added, removed or modified.

FIB version

Number that is increased by one each time BGP updates the routes in the IP routing table based on changes in the local RIB. The FIB version matches the local-RIB version when BGP has finished updating the routes in the IP route table. The FIB version is less than the local-RIB version when BGP is still in the process of updating the IP routing table.

Neighbor

BGP neighbors

AS

AS number of the peer

Ver

Negotiated BGP version number

State

State of the connection

Up/down time

Time the connection has been up or down

Messages sent

Number of messages sent to peer

Messages received

Number of messages received from peer

Prefixes received

Number of prefixes received from peer

Rib Ver

Last RIB version queued to be sent to peer

Send Q

Number of messages queued to be sent to peer

More InQ

Status indicating whether any messages are waiting to be sent to peer

Related Documentation