Hello Roman,

1. Bird 1.3.x is very old. Bird 1.6.8 and 2.0.7 are the current versions. If you still run on Bird 1.3 I highly recommend that you upgrade to at least 1.6.x

2. There is such a command already: `show protocols`. It doesn't show you how many prefixes you received from it, but is you ask for more detail it will: `show protocols all`. If you have a lot of peers, this will show you way to much information, so you can also request this info for 1 specific peer: `show protocols all <name_of_the_peer_in_the_bird_config>`. I don't know if these commands work on 1.3 though, but I think they would. I never used 1.3, I started using Bird when 1.6.4 was the latest and greatest and Bird 2 didn't exist yet.

Or is there some more you want to see from the `sh bgp sum` command that isn't shown by `show protocols`, even with more details?

Kind regards,
Cybertinus

On 2021-02-25 07:37, Roman Bulakh wrote:
Hi,

we use BIRD in our environment, and it would be very nice to have some
command like `show bgp summary` in juniper. This command show
information about peer IP, peer AS, last update, prefixes
received/best/exported and last state.


Example:
bird> show bgp summary
Peer                    AS Last state change   Prfx rcvd/best/export
State
X.X.X.X           asXXXX 2021-01-27          6786/6785/109000
Established
Y.Y.Y.Y        asYYYY 2020-12-16          0/0/0
Passive BGP Error: Hold timer expired

The are patch created for BIRD 1.3.4 and 1.3.6, but it would be good to
have this in upstream software, without rebuilding and patching.

as I understand it, no functionality should be affected by these
changes, this is only a visual update for cli.

Old patches describes at pages:
https://marc.info/?l=bird-users&m=132155489919052&w=2
http://trubka.network.cz/pipermail/bird-users/attachments/20120228/a1499be7/attachment-0001.diff
https://bird-users.network.narkive.com/Px6EH3yl/bird-1-3-6-show-bgp-summary-command

Reply via email to