Actually not. Existing command "show bgp routes" display content of xorp BGP route table, right? This table should contains BGP routes from all BGP peers, not particular one. Looking into code, I cannot see a single BGP route table containing BGP routes from all peers (not only the best but all BGP routes). So I suppose when one invoke "show bgp routes" on xorp there must be some method fetching BGP routes from RibIn tables for each branch (peer) because RibIn table is the only BGP table in plumbing containing all (unmodified) BGP routes from the peer. At least, this is my understanding after spending some time looking into code. I'm not sure how does commercial routers implements BGP route table, but similar command will always display content of BGP route table containing all BGP routes from all peers.
Thanks, Alex On Sat, Feb 27, 2010 at 2:34 PM, Li Zhao <[email protected]> wrote: > If understand your question correctly, you want some cli command to show > the routing tables from all peers on one router cli. That is not the > common practice on any commercial routers, like CISCO, juniper or Ericsson. > > --- On Sat, 2/27/10, Aleksandar Cvjetic <[email protected]> > wrote: > > > From: Aleksandar Cvjetic <[email protected]> > > Subject: [Xorp-hackers] BGP route table > > To: [email protected] > > Date: Saturday, February 27, 2010, 7:46 AM > > Hello, > > > > I' m wondering where BGP route table is implemented in > > xorp? Searching into docum. and code I found each branch > > (i.e. peer) has its own RIbIn table where all routes from > > that peer are stored and the best one for each destination > > is flagged. Typing "show bgp routes" all BGP > > routes are displayed, from each branch (peer). Is there a > > single BGP route table containing all BGP routes from all > > peers (and "show bgp routes" display its content, > > which I believe is not case in xorp, but I'm not sure) > > or a method fetch all routes from each RibIn table when > > "show bgp routes" is invoked? > > > > > > Any help appreciated! > > > > Thanks, > > Alex > > > > > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > Xorp-hackers mailing list > > [email protected] > > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > > > > > >
_______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
