cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2355
Views
0
Helpful
3
Replies

BGP neigbor problem

tedauction
Level 5
Level 5

Hello, we have been experiencing random BGP drops recently. Our Telco confirms the circuit is clean and suggests there is a BGP problem.

Does anything in this output of 'sh bpg neighbor' look unusual or suspect ?

Thank you kindly for any help:

BGP neighbor is 192.168.2.193, remote AS 7714, external link
Description: Telco PE Router
BGP version 4, remote router ID 10.72.68.2
BGP state = Established, up for 4d10h
Last read 00:00:21, last write 00:00:22, hold time is 90, keepalive interval is 30 seconds
Neighbor sessions:
1 active, is not multisession capable (disabled)
Neighbor capabilities:
Route refresh: advertised and received(new)
Four-octets ASN Capability: advertised and received
Address family IPv4 Unicast: advertised and received
Enhanced Refresh Capability: advertised
Multisession Capability:
Stateful switchover support enabled: NO for session 1
Message statistics:
InQ depth is 0
OutQ depth is 0

Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 2 73
Keepalives: 13937 12782
Route Refresh: 0 0
Total: 13940 12856
Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast
Session: 192.168.2.193
BGP table version 17093, neighbor version 17093/0
Output queue size : 0
Index 32, Advertise bit 0
32 update-group member
Inbound soft reconfiguration allowed
NEXT_HOP is always this router for eBGP paths
Slow-peer detection is disabled
Slow-peer split-update-group dynamic is disabled
Interface associated: GigabitEthernet0/1.1139
Sent Rcvd
Prefix activity: ---- ----
Prefixes Current: 7 281 (Consumes 22480 bytes)
Prefixes Total: 7 318
Implicit Withdraw: 0 16
Explicit Withdraw: 0 21
Used as bestpath: n/a 281
Used as multipath: n/a 0

Outbound Inbound
Local Policy Denied Prefixes: -------- -------
Bestpath from this peer: 310 n/a
Total: 310 0
Number of NLRIs in the update sent: max 7, min 0
Last detected as dynamic slow peer: never
Dynamic slow peer recovered: never
Refresh Epoch: 1
Last Sent Refresh Start-of-rib: never
Last Sent Refresh End-of-rib: never
Last Received Refresh Start-of-rib: never
Last Received Refresh End-of-rib: never
Sent Rcvd
Refresh activity: ---- ----
Refresh Start-of-RIB 0 0
Refresh End-of-RIB 0 0

Address tracking is enabled, the RIB does have a route to 192.168.2.193
Connections established 32; dropped 31
Last reset 4d10h, due to Peer closed the session
Transport(tcp) path-mtu-discovery is enabled
Graceful-Restart is disabled
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1
Local host: 192.168.2.198, Local port: 179
Foreign host: 192.168.2.193, Foreign port: 1877
Connection tableid (VRF): 0
Maximum output segment queue size: 50

Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x10D55A4BA4):
Timer Starts Wakeups Next
Retrans 13940 1 0x0
TimeWait 0 0 0x0
AckHold 12803 12538 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0
Linger 0 0 0x0
ProcessQ 0 0 0x0

iss: 2900365178 snduna: 2900630140 sndnxt: 2900630140
irs: 1159467277 rcvnxt: 1159714954

sndwnd: 8192 scale: 0 maxrcvwnd: 16384
rcvwnd: 14959 scale: 0 delrcvwnd: 1425

SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms
minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms
uptime: 383515756 ms, Sent idletime: 21152 ms, Receive idletime: 21352 ms
Status Flags: passive open, gen tcbs
Option Flags: nagle, path mtu capable
IP Precedence value : 6

Datagrams (max data segment is 1460 bytes):
Rcvd: 26745 (out of order: 0), with data: 12806, total data bytes: 247676
Sent: 26650 (retransmit: 1, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 13939, total data bytes: 264961

Packets received in fast path: 0, fast processed: 0, slow path: 0
fast lock acquisition failures: 0, slow path: 0
TCP Semaphore 0x30BBAD94 FREE

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

When you say "BGP drops" are you referring to BGP neighbor drops? If yes, you may want to look at this statement from "sh ip bgp nei" command.

Connections established 32; dropped 31

Now, this statement doesn't necessarily mean bad, but if there were 31 drops in 6 months or even a year, you may want to talk to your ISP about it.  Maybe, its their router dropping the neihgborship and not yours.

Also, do you have a monitoring software that can track the circuit to ISP and when there is a drop you can get alerts?

HTH

Hello

BGP neighbor is 192.168.2.193, remote AS 7714, external link
Description: Telco PE Router
BGP version 4, remote router ID 10.72.68.2
BGP state = Established, up for 4d10h

Address tracking is enabled, the RIB does have a route to 192.168.2.193
Connections established 32; dropped 31
Last reset 4d10h, due to Peer closed the session

Is this bgp peering directly connected or is it accessible via some IGP? - If the latter are you losing that prefix for some reason, It would then eventually drop the ebgp peering?

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Given this line of output

Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1

and these lines of output

Local host: 192.168.2.198, Local port: 179
Foreign host: 192.168.2.193, Foreign port: 1877

I believe that it is safe to assume that the neighbors are directly connected.

I agree with Reza that perhaps we need a better understanding of what is meant by "BGP drops" and what is the problem.

HTH

Rick

HTH

Rick