This command displays information about the state of BGP‘s IPv4 peering sessions.
ip-address | (Optional) Specifies an IPv4 address to view data for only the specified neighbor. |
Is a peer IP address is not specified, information for all neighbors displays.
All command modes.
The show ip bgp neighbors query displays detailed data about the state of BGP‘s peering sessions. You can optionally specify an IPv4 address.
The following example shows detailed information about all BGP peering sessions.
System(rw)->show ip bgp neighbors BGP neighbor is: 192.168.7.112, remote AS: 7 BGP version is: 4, remote router ID: 113.58.0.1 TTL: 0 Hold Time: 90 (sec), Keepalive Time: 30 (sec) Restart Time: 120 (sec), Restarting: No Current state is: ESTABLISHED Updates received: 6, Updates sent: 5 Total messages received: 206, Total messages sent: 715 Last error code was: 0 Last error sub-code was: 0 Local AS is: 10 Local router ID is: 1.2.3.4 Established Time is: 3184 (sec) Number of transitions to/from established state is: 4 Soft reset with stored info is: Disabled Automatic sending of route-refresh messages is: Enabled Router confederation AS is: 0 Peer is in Router's Confederation? No Route Reflector ID is: 0.0.0.0 Peer is Route Reflector Client? Non-Client BGP neighbor is: 192.168.8.112, remote AS: 8 BGP version is: 4, remote router ID: 113.58.0.2 TTL: 0 Hold Time: 90 (sec), Keepalive Time: 30 (sec) Restart Time: 120 (sec), Restarting: No Current state is: ESTABLISHED Updates received: 5, Updates sent: 24 Total messages received: 439, Total messages sent: 1005 Last error code was: 0 Last error sub-code was: 0 Local AS is: 10 Local router ID is: 1.2.3.4 Established Time is: 3179 (sec) Number of transitions to/from established state is: 5 Soft reset with stored info is: Disabled Automatic sending of route-refresh messages is: Enabled Router confederation AS is: 0 Peer is in Router's Confederation? No Route Reflector ID is: 0.0.0.0 Peer is Route Reflector Client? Non-Client System(rw)->