show ip bgp neighbors
Displays configuration information and statistics for BGP4 neighbors of the device.
Syntax
show ip bgp neighbors
[ip-addr]show ip bgp neighbors
last-packet-with-errorshow ip bgp neighbors
routes-summaryParameters
Modes
User EXEC mode
Usage Guidelines
Output shows all configured parameters for the neighbors. Only the parameters whose values differ from defaults are shown.
The
show ip bgp neighbors command displays the following information:
Examples
The following example shows sample output from the
show ip bgp
neighbors command.
Idevice# show ip bgp neighbors
Total number of BGP Neighbors:3
1 IP Address: 17.1.1.1, AS: 1 (IBGP), RouterID: 3.1.1.1, VRF: default-vrf
State: ESTABLISHED, Time: 1d22h42m4s, KeepAliveTime: 10, HoldTime: 30
KeepAliveTimer Expire in 4 seconds, HoldTimer Expire in 23 seconds
Minimal Route Advertisement Interval: 0 seconds
PeerGroup: p1
RefreshCapability: Received
GracefulRestartCapability: Received
Restart Time 120 sec, Restart bit 0
afi/safi 1/1, Forwarding bit 0
afi/safi 2/1, Forwarding bit 0
GracefulRestartCapability: Sent
Restart Time 120 sec, Restart bit 0
afi/safi 1/1, Forwarding bit 0
afi/safi 2/1, Forwarding bit 0
Messages: Open Update KeepAlive Notification Refresh-Req
Sent : 1 2 16729 0 0
Received: 1 2 18097 0 0
Last Update Time: NLRI Withdraw NLRI Withdraw
Tx: --- --- Rx: --- ---
Last Connection Reset Reason:Unknown
Notification Sent: Unspecified
Notification Received: Unspecified
Neighbor NLRI Negotiation:
Peer Negotiated IPV4 unicast capability
Peer Negotiated IPV6 unicast capability
Peer configured for IPV4 unicast Routes
Peer configured for IPV6 unicast Routes
Neighbor AS4 Capability Negotiation:
Outbound Policy Group:
ID: 3, Use Count: 6
AO Keychain name : 1
TCP Connection state: ESTABLISHED
TCP Keychain name : 1
TCP-AO Enabled : YES
TCP-AO in use : YES
Keychain valid : YES
No of segments dropped : 0
Send-Active-Key
---------------
Key-id : 1
Crypto Algorithm : AES-128-CMAC
Send-id : 100
Recv-id : 100
Include-tcp-options : YES
Accept-ao-mismatch : YES
Recv-Active-Key
---------------
Key-id : 1
Crypto Algorithm : AES-128-CMAC
Send-id : 100
Recv-id : 100
Include-tcp-options : YES
Accept-ao-mismatch : YES
Maximum segment size: 1420
TTL check: value: 0
Byte Sent: 317970, Received: 343962
Local host: 17.1.1.2, Local Port: 8003
Remote host: 17.1.1.1, Remote Port: 179
ISentSeq: 17564913 SendNext: 17882884 TotUnAck: 0
TotSent: 317971 ReTrans: 40 UnAckSeq: 17882884
IRcvSeq: 153787685 RcvNext: 154131648 SendWnd: 16365
TotalRcv: 343963 DupliRcv: 1083 RcvWnd: 16384
SendQue: 0 RcvQue: 0 CngstWnd: 1439
The following example shows sample output from the show ip bgp neighbors command when an IP address is specified.
device# show ip bgp neighbors 17.1.1.1
1 IP Address: 17.1.1.1, AS: 1 (IBGP), RouterID: 3.1.1.1, VRF: default-vrf
State: ESTABLISHED, Time: 1d22h42m42s, KeepAliveTime: 10, HoldTime: 30
KeepAliveTimer Expire in 9 seconds, HoldTimer Expire in 21 seconds
Minimal Route Advertisement Interval: 0 seconds
PeerGroup: p1
RefreshCapability: Received
GracefulRestartCapability: Received
Restart Time 120 sec, Restart bit 0
afi/safi 1/1, Forwarding bit 0
afi/safi 2/1, Forwarding bit 0
GracefulRestartCapability: Sent
Restart Time 120 sec, Restart bit 0
afi/safi 1/1, Forwarding bit 0
afi/safi 2/1, Forwarding bit 0
Messages: Open Update KeepAlive Notification Refresh-Req
Sent : 1 2 16733 0 0
Received: 1 2 18101 0 0
Last Update Time: NLRI Withdraw NLRI Withdraw
Tx: --- --- Rx: --- ---
Last Connection Reset Reason:Unknown
Notification Sent: Unspecified
Notification Received: Unspecified
Neighbor NLRI Negotiation:
Peer Negotiated IPV4 unicast capability
Peer Negotiated IPV6 unicast capability
Peer configured for IPV4 unicast Routes
Peer configured for IPV6 unicast Routes
Neighbor AS4 Capability Negotiation:
Outbound Policy Group:
ID: 3, Use Count: 6
AO Keychain name : 1
TCP Connection state: ESTABLISHED
TCP Keychain name : 1
TCP-AO Enabled : YES
TCP-AO in use : YES
Keychain valid : YES
No of segments dropped : 0
Send-Active-Key
---------------
Key-id : 1
Crypto Algorithm : AES-128-CMAC
Send-id : 100
Recv-id : 100
Include-tcp-options : YES
Accept-ao-mismatch : YES
Recv-Active-Key
---------------
Key-id : 1
Crypto Algorithm : AES-128-CMAC
Send-id : 100
Recv-id : 100
Include-tcp-options : YES
Accept-ao-mismatch : YES
Maximum segment size: 1420
TTL check: value: 0
Byte Sent: 318046, Received: 344038
Local host: 17.1.1.2, Local Port: 8003
Remote host: 17.1.1.1, Remote Port: 179
ISentSeq: 17564913 SendNext: 17882960 TotUnAck: 0
TotSent: 318047 ReTrans: 40 UnAckSeq: 17882960
IRcvSeq: 153787685 RcvNext: 154131724 SendWnd: 16365
TotalRcv: 344039 DupliRcv: 1083 RcvWnd: 16384
SendQue: 0 RcvQue: 0 CngstWnd: 1439
History