2010/9/21 Alexander Shikoff <minot...@crete.org.ua>: > Hello, > > When making a looking glass for bird I met a lack of summary-like > command for bgp. > > Attached patch adds 'show bgp summary' command to CLI of birdc. It produces > output that looks like Juniper/Cisco-style output. > Example: > > BIRD 1.2.4 ready. > bird> show bgp summary > Peer AS Last state change Prefixes rcvd/best > State/Last error > 193.25.x.x 13249 21:11 0/0 Passive > 193.25.x.x 20850 21:11 0/0 Passive > 193.25.x.x 21011 21:11 0/0 Passive > 193.25.x.x 25372 21:12 3/3 > Established > 193.25.x.x 28097 21:11 0/0 Passive > 193.25.x.x 35320 21:11 0/0 Passive > 193.25.x.x 42546 21:11 1/1 Passive > Socket: Connection closed > > My integration of command in nest/config.Y is quite dumb but it works. > If such command is essential for the users then a bird team may > integrate it in more accurate and right way. > > Patch is applied to version 1.2.4. It has been tested on FreeBSD 7.2. > > -- > MINO-RIPE >
Good work.