Routing

last person joined: 3 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.  OSPF how to export to ospf an import from ospf

    Posted 02-11-2014 15:57

    Dear all , Im facing a dinamic routing situation.

     

    Bellow Ileft  a little picture of the situation.

     

    I need to solve two issues on this:

    First: To export to ospf area the static route on the EDGE router.

         All the routers in the ospf area  need to know how to reach the server through the Middle router directly connected to EDGE router

     

    Second:

    All the routes or routes changes on the ospf "tree" topology area must be learned on the EDGE router.

     

     

    Im little confused about this issue , is it mandatory to use ribs ?

    Any help on this would be preciated.

    Leandro.

     

    ospf.png 



  • 2.  RE: OSPF how to export to ospf an import from ospf

    Posted 02-11-2014 20:18

    Hi, Leandro.

     

    I'm a little confused by your post.  You say you need all routes in the OSPF area to be leanred on the Edge router, but according to your diagram, OSPF is already running on the Edge router.  Therefore, it will already know of any changes in the OSPF area.

     

    Exporting a route is fairly easy.  Here's an example:

     

    tylerc@lab01> show configuration policy-options
    policy-statement advertise-192 {
        from {
            protocol static;
            route-filter 192.168.1.0/24 exact;
        }
        then accept;
    }
    
    {primary:node0}
    tylerc@lab01> show configuration protocols ospf
    export advertise-192;
    area 0.0.0.0 {
        interface reth0.0;
    }
    
    {primary:node0}


  • 3.  RE: OSPF how to export to ospf an import from ospf

    Posted 02-12-2014 15:03

    Dear Tylersc:

    I think I was a little confused, since documentation also talks about import policies I thought that I also needed to especify wich routes I wanted to learn.

     

    So, you say that in my case import policy is not needed ?

    when do I need to explicit import routes ?

    Other question , what are ribs for ?  exange routes between routing instances ?

     

    Thanks in advance.

    Leandro.



  • 4.  RE: OSPF how to export to ospf an import from ospf
    Best Answer

    Posted 02-13-2014 12:24

    OSPF creates a DB that is contains all OSPF routes and is shared across all devices in the OSPF area. You would use a route import policy to bring non OSPF routes into OSPF for distribution.

     

    Simplest example you have router R1 which has a default static route to the Internet. You want routers R, R3, and R4 to all have that same static route. You would define a route policy to capture that static route and then use import to bring that route into OSPF.