Routing
Highlighted
Routing

Export ospf routes

‎09-18-2014 01:08 PM
Hi All, I have ospf area 3 under inet.0 and ospf area 15 under test.inet.0 I want to filter some routes from test.inet.0 and export them into inet.0. is that possible and if yes please to share the syntax. thank you, Best Regards, Haitham Jneid
2 REPLIES 2
Highlighted
Routing

Re: Export ospf routes

‎09-18-2014 01:49 PM

Hi,

 

You can use rib-groups to export routes between those two routing tables no matter the protocol they were learned from.

Somehting like that:

 

[edit routing-options]
    rib-groups {
        RIBGROUP {
            import-rib [ test.inet.0 inet.0 ];
            import-policy POLICY;
        }
    }
[edit routing-instances]
     test {
         routing-options {
             interface-routes {
                 rib-group inet RIBGROUP;
             }
         }
         protocols {
             ospf {
                 rib-group inet RIBGROUP;
             }
         }
     }
[edit policy-options]
     policy-statement POLICY {
         ...
     }

 

 

 

 

 

--
Click the star for kudos if you think I earned it.
If this post solves your problem, please mark this post as "Accepted Solution".

Highlighted
Routing

Re: Export ospf routes

‎10-04-2014 05:25 AM

Hi Haitham,

 

did the proposed solution solved your issue?

 

 

 

 

--
If this post solves your problem, please mark this post as "Accepted Solution".
Kudos are appreciated

Feedback