Routing

last person joined: 20 hours 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.  How to see routes for specific RD?

    Posted 02-19-2017 18:33

    Hi

    What command can be used to see routes for specific RD in Juniper?

    In Cisco, the command is "show bgp vpnv4 unicast rd 22300:1234"

    Thank you



  • 2.  RE: How to see routes for specific RD?

    Posted 02-19-2017 23:08

    Try "show route table bgp.l3vpn.0 match-prefix 22300:1234:*"



  • 3.  RE: How to see routes for specific RD?

    Posted 02-20-2017 11:14

    Yes, I can get it. 

     

    Here is topology:

    RouterA is connected to routerB and routerC with bgp neighbor. RouterA send route with 22300:1234. By the command "show route table bgp.l3vpn.0 match-prefix 22300:1234:*", routerB can see routes with 22300:1234, but routerC cannot see it and only get the below error message:

    "error: No routing tables matching specification"

     

    My question is why routerC cannot see it and get the error message? 

     

    Thank you

     

     



  • 4.  RE: How to see routes for specific RD?

    Posted 02-20-2017 11:24

    Hi eesunj,

     

    Junos creates the respective routing table once the protocol/family/stanza relative to that table is active on the configuration file. So you only get this kind of error message when you do not have family inet-vpn active on your BGP configuration

    Check the below example

     

    Without family inet-vpn (Table does not exist)

    root@Siruisvmx> show configuration protocols bgp | match inet-vpn


    root@Siruisvmx> show route table bgp.l3vp.0
    error: No routing tables matching specification.

     

    With family inet-vpn (Table exists)

    root@Siruisvmx> show configuration protocols bgp | match inet-vpn    
        family inet-vpn {

    root@Siruisvmx> show route table bgp.l3vpn.0

     

    hope that helps, thanks


    #familyinet-vpn


  • 5.  RE: How to see routes for specific RD?

    Posted 02-20-2017 11:15

    Please try this and see if it is going to give you what you are looking for

     

    root@Siruis> show route table bgp.l3vpn.0 rd-prefix ?
    Possible completions:
      <rd-prefix>          Route distinguisher with ip prefix (rd:prefix)

     

    Thanks


    #rd-prefix