Routing

last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  what is the equivalent of sh ip bgp table ?

     
    Posted 06-01-2018 13:01

    Hello Guys,

     

    I'm looking for the juniper command which allows to see all BGP routes received from all neighbors, this command is available in cisco using the command sh ip bgp table. also which commande allow to check if a prefix is present inside the BGP table (not the routing table), without using the IP address of a specific bgp neighbor, so I mean a generic command which will check the routes received from all neighbor at the same time (without typing the neighbor IP)

     

    thanks



  • 2.  RE: what is the equivalent of sh ip bgp table ?

     
    Posted 06-01-2018 20:41

    Hi jpc,

     

    You could use "show bgp neighbor" to see BGP routes from neighbors. Additionally, the document would be handy to use:

    https://www.juniper.net/documentation/en_US/junos/topics/reference/command-summary/show-bgp-neighbor.html

     

    [KUDOS PLEASE! If you think I earned it!

    If this solution worked for you please flag my post as an "Accepted Solution" so others can benefit..]



  • 3.  RE: what is the equivalent of sh ip bgp table ?

    Posted 06-02-2018 06:35

    The command for all the bgp routes from all neighbors and all tables

    show route protocol bgp

     

    Restricting to a neighbor - change neighbor ip address

    show route receive-protocol bgp 192.168.1.1

     

    Limiting to a table - change to specific table

    show route protocol bgp table inet.0