Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FRR logging for BGP peer disconnect #15302

Closed
ChinmayaAgarwal opened this issue Feb 5, 2024 · 2 comments
Closed

FRR logging for BGP peer disconnect #15302

ChinmayaAgarwal opened this issue Feb 5, 2024 · 2 comments
Labels
bgp triage Needs further investigation

Comments

@ChinmayaAgarwal
Copy link

Hi,

We would like to have visibility in FRR logs when a BGP peer is connected/disconnected and the reason for disconnection. We tried using "bgp log-neighbor-changes" which logs the events as to when a peer has gone down or brought up. Is there any other configuration by which we can log the reason for BGP peer going down and identify if there is any issue in peering:-

2023/12/22 10:46:01 BGP: [V1CHF-JSGRR] %NOTIFICATION: sent to neighbor 24.2.1.103 6/4 (Cease/Administratively Reset) 0 bytes
2023/12/22 10:46:01 BGP: [VB567-F0EDJ] %ADJCHANGE: neighbor 24.2.1.103(j3chysr01stg06) in vrf er_vrf_1 Down User reset
2023/12/22 10:46:03 BGP: [V1CHF-JSGRR] %NOTIFICATION: sent to neighbor 24.2.1.103 6/7 (Cease/Connection collision resolution) 0 bytes
2023/12/22 10:46:03 BGP: [QTNRG-A0X1J] %ADJCHANGE: neighbor 24.2.1.103(j3chysr01stg06) in vrf er_vrf_1 Up
2023/12/22 10:46:04 BGP: [M59KS-A3ZXZ] bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 24.2.1.103 in vrf er_vrf_1

Thanks and Regards,
Chinmaya Agarwal.

@ChinmayaAgarwal ChinmayaAgarwal added the triage Needs further investigation label Feb 5, 2024
@ton31337
Copy link
Member

ton31337 commented Feb 5, 2024

There are two reasons: Cease/Administratively Reset, and Cease/Connection collision resolution. How would you like to display the reason in the logs?

@ton31337 ton31337 added the bgp label Feb 5, 2024
@donaldsharp
Copy link
Member

You can use bmp monitoring to monitor peer status https://docs.frrouting.org/en/latest/bmp.html#bmp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bgp triage Needs further investigation
Projects
None yet
Development

No branches or pull requests

3 participants