Routing

Expand all | Collapse all

¿ JUNOS equivalent of Cisco´s "show ip bgp" command?

  • 1.  ¿ JUNOS equivalent of Cisco´s "show ip bgp" command?

    Posted 02-01-2014 02:16

    Hello team:

    ¿ is there a JUNOS command that let´s me see the actual contents of its BGP table like Cisco does when I execute the "show ip bgp" command? 

    In JUNOS, for instance, if I select a static route for export to BGP peers, the "show route protocol bgp" command only shows that the static route exists in the table. I have no "global" way to know that such a prefix has been selected for the BGP table unless I execute the "show route advertising-protocol bgp x.x.x.x"

     

    Hints will be greatly appreciated.

    regards, Rogelio

     

    bgp.jpg



  • 2.  RE: ¿ JUNOS equivalent of Cisco´s "show ip bgp" command?

     
    Posted 02-01-2014 03:47

    I think you are looking for:

     

    show route protocol bgp



  • 3.  RE: ¿ JUNOS equivalent of Cisco´s "show ip bgp" command?

    Posted 02-01-2014 19:24


  • 4.  RE: ¿ JUNOS equivalent of Cisco´s "show ip bgp" command?

    Posted 02-19-2014 08:59

    The most equivalent output on Junos can be obtained with the following command:
    >show route protocol bgp terse

    Here's the output from that command:

    # run show route protocol bgp terse
    inet.0: 28 destinations, 28 routes (28 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    A Destination        P Prf   Metric 1   Metric 2  Next hop         AS path
    * 172.37.17.0/24     B 170        200            >172.27.0.2       1342930876 I
    * 172.37.18.0/24     B 170        200            >172.27.0.2       1342930876 I
    * 172.37.19.0/24     B 170        200            >172.27.0.2       1342930876 I
    * 172.37.30.0/24     B 170        200            >172.27.0.2       1342930876 1445931287 65412 I
    * 172.37.31.0/24     B 170        200            >172.27.0.2       1342930876 1445931287 65412 I
    * 172.37.32.0/24     B 170        200            >172.27.0.2       1342930876 1445931287 65412 I