SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Route Redistribution

    Posted 01-05-2010 05:24

    Hi,

     

    Has anyone had any luck redistributing locally connected networks into a dynamic routing protocol?  I followed the OSPF to BGP example in the documentation, but it's either not working or I have this configured wrong.  Anyone?  Thank you.

     

    policy-statement OSPF-Redistribution {
        term term1 {
            from {
                protocol direct;
                route-filter 50.50.50.0/24 exact;
            }
            then accept;
        }
    }

    [edit policy-options]

     

    ospf {
        import OSPF-Redistribution;
        area 0.0.0.0 {
            interface st0.0 {
                interface-type p2mp;
                hello-interval 10;
                dead-interval 40;
            }
        }
    }

    [edit protocols]
    Juniper@srx-240#



  • 2.  RE: Route Redistribution
    Best Answer

    Posted 01-05-2010 05:53

    Hello,

    In your OSPF config, change "import" to "export" and you should be cool.

    Remember, in case of link-state protocols "import" is from protocol into RIB, "export" is from RIB into LSDB and ultimately to neighbors.

    And your 50.50.50.0/24 route must be present in routing table and have exact prefix/mask.

    Rgds

    Alex

     



  • 3.  RE: Route Redistribution

    Posted 01-05-2010 06:14

    Hi Alex,

     

    This worked like a charm.  Thanks for the additional info too!

     

    -John