show ip bgp neighbors
show ip bgp neighbors
[
ip-addr
]
show ip bgp neighbors
last-packet-with-error
show ip bgp neighbors
routes-summary
User EXEC mode
Output shows all configured parameters for the neighbors. Only the parameters whose values differ from defaults are shown.
If
enable password-display is configured on the device, the MD5 password is displayed in clear text in the output
for this command. To prevent the MD5 password from being displayed in clear text,
the
enable password-display’ command should be used with the
md5-fmt parameter. Refer to the
enable password-display command for more information.
The
show ip bgp neighbors command displays the following information:
The following example shows sample output from the show ip bgp neighbors command.
device> show ip bgp neighbors
neighbors Details on TCP and BGP neighbor connections
Total number of BGP Neighbors: 1
1 IP Address: 192.168.1.1, AS: 7701000 (IBGP), RouterID: 192.168.1.1, VRF: default-vrf
State: ESTABLISHED, Time: 0h3m33s, KeepAliveTime: 60, HoldTime: 180
KeepAliveTimer Expire in 49 seconds, HoldTimer Expire in 177 seconds
Minimal Route Advertisement Interval: 0 seconds
RefreshCapability: Received
Messages: Open Update KeepAlive Notification Refresh-Req
Sent : 1 0 5 0 0
Received: 1 1 5 0 0
Last Update Time: NLRI Withdraw NLRI Withdraw
Tx: --- --- Rx: 0h3m33s ---
Last Connection Reset Reason:Unknown
Notification Sent: Unspecified
Notification Received: Unspecified
Neighbor NLRI Negotiation:
Peer Negotiated IPV4 unicast capability
Peer configured for IPV4 unicast Routes
Neighbor AS4 Capability Negotiation:
Peer Negotiated AS4 capability
Peer configured for AS4 capability
As-path attribute count: 1
Outbound Policy Group:
ID: 1, Use Count: 1
TCP Connection state: ESTABLISHED, flags:00000044 (0,0)
Maximum segment size: 1460
TTL check: 0, value: 0, rcvd: 64
Byte Sent: 148, Received: 203
Local host: 192.168.1.2, Local Port: 179
Remote host: 192.168.1.1, Remote Port: 8041
ISentSeq: 1656867 SendNext: 1657016 TotUnAck: 0
TotSent: 149 ReTrans: 19 UnAckSeq: 1657016
IRcvSeq: 1984547 RcvNext: 1984751 SendWnd: 64981
TotalRcv: 204 DupliRcv: 313 RcvWnd: 65000
SendQue: 0 RcvQue: 0 CngstWnd: 5840
The following example shows sample output from the
show ip bgp neighbors command, including BFD configuration information.
device> show ip bgp neighbors
Total number of BGP Neighbors: 1
1 IP Address: 12.12.12.3, AS: 300 (IBGP), RouterID: 0.0.0.2, VRF: BFD
State: ESTABLISHED, Time: 0h40m12s, KeepAliveTime: 60, HoldTime: 180
KeepAliveTimer Expire in 27 seconds, HoldTimer Expire in 168 seconds
Minimal Route Advertisement Interval: 0 seconds
RefreshCapability: Received
Messages: Open Update KeepAlive Notification Refresh-Req
Sent : 1 0 46 0 0
Received: 1 0 45 0 0
Last Update Time: NLRI Withdraw NLRI Withdraw
Tx: --- --- Rx: --- ---
Last Connection Reset Reason:Peer Removed
Notification Sent: Cease/Peer Unconfigured
Notification Received: Open Message Error/Bad Peer AS Number
Neighbor NLRI Negotiation:
Peer Negotiated IPV4 unicast capability
Peer configured for IPV4 unicast Routes
Neighbor ipv6 MPLS Label Capability Negotiation:
Neighbor AS4 Capability Negotiation:
Outbound Policy Group:
ID: 6, Use Count: 2
BFD:Enabled, BFDSessionState:Up, Multihop:No
LastBGP-BFDEvent:RX:Up, BGP-BFDError:No Error
HoldOverTime(sec) Configured:0,Current:0,DownCount:0
TCP Connection state: ESTABLISHED, flags:00000033 (0,0)
Maximum segment size: 1460
TTL check: 0, value: 0, rcvd: 64
Byte Sent: 919, Received: 900
Local host: 12.12.12.6, Local Port: 8221
Remote host: 12.12.12.3, Remote Port: 179
ISentSeq: 3743370334 SendNext: 3743371254 TotUnAck: 0
TotSent: 920 ReTrans: 0 UnAckSeq: 3743371254
IRcvSeq: 2092913293 RcvNext: 2092914194 SendWnd: 65000
TotalRcv: 901 DupliRcv: 0 RcvWnd: 65000
SendQue: 0 RcvQue: 0 CngstWnd: 1460
The following example shows sample output from the
show ip bgp neighbors command when the
enable password-display feature is configured. The MD5 password is displayed in clear text.
device> show ip bgp neighbors
Total number of BGP Neighbors: 1
1 IP Address: 8.8.8.2, AS: 10001 (IBGP), RouterID: 0.0.0.0, VRF: default-vrf
State: CONNECT, Time: 0h13m4s, KeepAliveTime: 60, HoldTime: 180
Minimal Route Advertisement Interval: 0 seconds
MD5 Password: minerdi
…
The following example shows sample output from the
show ip bgp neighbors command when the
enable password-display command is used with the
md5-fmt parameter. The password is displayed in MD5 format.
device> show ip bgp neighbors
Total number of BGP Neighbors: 1
1 IP Address: 8.8.8.2, AS: 10001 (IBGP), RouterID: 0.0.0.0, VRF: default-vrf
State: CONNECT, Time: 0h9m50s, KeepAliveTime: 60, HoldTime: 180
Minimal Route Advertisement Interval: 0 seconds
MD5 Password: $Nj1nblVAPQ==
…