[PATCH] 'show bgp summary' command

Alexander Shikoff minotaur at crete.org.ua
Fri Nov 18 11:59:48 CET 2011


On Fri, Nov 18, 2011 at 11:01:38AM +0100, Thilo Bangert wrote:
> On Thursday, November 17, 2011 07:33:51 PM Alexander Shikoff wrote:
> > Hello,
> > 
> > patch adds 'show bgp summary' command in bird 1.3.4.
> > We're running bird in production environment (an IXP), and the such command
> > makes diagnostic output more usual and simplifies development of looking
> > glasses (we do not need to parse 'show protocols all' output).
> 
> this sounds awesome. my imagination (and will to compile) are a little limited 
> - could you post what the output looks like?

/home/minotaur>birdc6
BIRD 1.3.4 ready.
bird> show bgp summary 
Peer
         AS Last state change   Prefixes rcvd/best   State/Last error
2001:7f8:63::1
      25372 2011-11-17 20:19:09 1/1                  Established   
bird>

For IPv4 version it could be done in one-line form, it needs just small 
modification of cli_msg function.

-- 
MINO-RIPE



More information about the Bird-users mailing list