show bgp neighbors

Syntax

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

Description

This command shows information about BGP and TCP connections to neighbors. If neighbors are member of a peer-group, the command shows the configured values inherited from the peer-group. The configured values are postfixed with a caret (^) for inherited values.

Command context

Operator (>) or Manager (#)

Parameters

vrf <VRF-NAME>

Shows the information for a specified VRF.

ipv4 unicast

Shows the information for an IPv4 unicast address family.

ipv6 unicast

Shows the information for an IPv6 unicast address family.

all

Shows the information for all address families and subaddress 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 all information about BGP and TCP connections to neighbors:

switch# show bgp all neighbors
Codes: ^ Inherited from peer-group
VRF : default

BGP Neighbor 10.1.1.2 (Internal)
    Description         :
    Peer-group          :

    Remote Router Id    : 10.1.1.2           Local Router Id    : 1.0.0.1
    Remote AS           : 1                  Local AS           : 1
    Remote Port         : 0                  Local Port         : 0
    State               : Idle               Admin Status       : Up
    Conn. Established   : 0                  Conn. Dropped      : 0
    Passive             : No                 Update-Source      :
    Cfg. Hold Time      : 180                Cfg. Keep Alive    : 60
    Neg. Hold Time      : 0                  Neg. Keep Alive    : 0
    Up/Down Time        : 00h:00m:00s        Alt. Local-AS      : 0
    Local-AS Prepend    : No
    BFD                 : Disabled
    Password            :
    Last Err Sent       : No Error
    Last SubErr Sent    : No Error
    Last Err Rcvd       : No Error
    Last SubErr Rcvd    : No Error

    Graceful-Restart    : Enabled            Gr. Restart Time   : 120
    Gr. Stalepath Time  : 150                Remove Private-AS  : No
    TTL                 : 255                Local Cluster-ID   :
    Weight              : 0                  Fall-over          : No

    Message statistics       Sent     Rcvd
    -------------------      -----    -----
    Open                         0        0
    Notification                 0        0
    Updates                      0        0
    Keepalives                   0        0
    Route Refresh                0        0
    Total                        0        0

    Capability                           Advertised      Received
    -----------                          -----------     ----------
    Route Refresh                        Yes             No
    Graceful Restart                     Yes             No
    Four Octet ASN                       Yes             No
    Address family IPv4 Unicast          Yes             No
    Address family IPv6 Unicast          No              No
 
    Address Family : IPv4 Unicast
    -----------------------------

    Rt. Reflect. Client : No                  Send Community    :
    Allow-AS in         : 0                   Advt. Interval    : 30
    Max. Prefix         : 64000               Soft Reconfig In  :
    Nexthop-Self        :                     Default-Originate :

    Routemap In         :
    Routemap Out        :
    Address Family : IPv6 Unicast
    -----------------------------