show bgp summary

Syntax

show bgp [{ipv4 unicast | ipv6 unicast| ipv4 unicast {vrf <VRF-NAME>} | all unicast}] 
     summary [vsx-peer]

Description

Shows a summary of the status of all Border Gateway Protocol (BGP) connections. Optionally you can specify displaying information by VRF.

Command context

Operator (>) or Manager (#)

Parameters

ipv4

Selects the IPv4 address family.

ipv6

Selects the IPv6 address family.

unicast

The subaddress family identifier.

vrf <VRF-NAME>

Select to display information by VRFs by specifying the VRF name.

all

Select to display the BGP summary information for all VRFs and address-families.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

Showing BGP summary information for all address-families:

switch(config-router)# show bgp all summary
VRF : default
BGP Summary
 Local AS               : 100          BGP Router-ID          : 9.0.0.1
 No of Peers            : 1            Log Neighbor Changes   : No
 Hold Time              : 180          Keep Alive             : 60

Address-family : IPv4 Unicast
-----------------------------
 Neighbor        Remote-AS MsgRcvd MsgSent Up/Down Time State       AdminStatus
 9.0.0.2         200       25      23      00h:17m:50s  Established Up

Address-family : IPv6 Unicast
-----------------------------
 Neighbor        Remote-AS MsgRcvd MsgSent Up/Down Time State       AdminStatus
 9.0.0.2         200       25      23      00h:17m:50s  Established Up

VRF : v1
BGP Summary
 Local AS               : 100          BGP Router-ID          : 9.0.0.1
 No of Peers            : 1            Log Neighbor Changes   : No
 Hold Time              : 180          Keep Alive             : 60
Address-family : IPv4 Unicast
-----------------------------
 Neighbor        Remote-AS MsgRcvd MsgSent Up/Down Time State       AdminStatus
 9.0.0.2         200       25      23      00h:17m:50s  Established Up

Address-family : IPv6 Unicast
-----------------------------
 Neighbor        Remote-AS MsgRcvd MsgSent Up/Down Time State       AdminStatus
 9.0.0.2         200       25      23      00h:17m:50s  Established Up

Showing BGP summary information for a specific VRF:

switch(config-router)# show bgp ipv4 unicast vrf v1 summary
VRF : v1
BGP Summary
 Local AS               : 100          BGP Router-ID          : 9.0.0.1
 No of Peers            : 1            Log Neighbor Changes   : No
 Hold Time              : 180          Keep Alive             : 60

 Neighbor        Remote-AS MsgRcvd MsgSent Up/Down Time State       AdminStatus
 9.0.0.2         200       25      23      00h:17m:50s  Established Up