Expand all | Collapse all

rib import routes

Jump to Best Answer
  • 1.  rib import routes

    Posted 07-31-2017 12:42



    is it possible to import static routes from one table to another and filter out some routes, in my example I would like to filter out

    default gateway.





  • 2.  RE: rib import routes
    Best Answer

    Posted 08-01-2017 21:33



    Yes absolutely. 


    show configuration policy-options policy-statement Get-Static

    term two {
        from {
            instance master;
            protocol static;
            route-filter <IP Address> exact;
        then accept;
    term two {
    from {
    instance master;
    protocol static;
    route-filter exact;
    then reject;

    term LAST {
    then reject;

    [edit routing-instances My-New-VR]
    instance-type virtual-router;
    interface reth0.1
    interface reth0.2
    interface reth0.3
    interface reth0.4
    routing-options {
        instance-import Get-Static;


    Kindly go through below KB for more details:





    [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: rib import routes

    Posted 08-02-2017 15:26



    I wanted to use rib-groups and use import-rib but this one works good.