[j-nsp] Moving routes between VRF and inet.0

Tom Eichhorn tom at wirkbetrieb.net
Sat Apr 19 04:01:53 EDT 2014


Dear all,

I am currently fighting a bit with rib-groups, and I hope someone
could point me in the right direction:

What I have is:

floating.inet.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

xx.yy.220.61/32   *[BGP/170] 00:10:28, localpref 100, from xx.yy.221.101
                      AS path: 64512 ?
                    > to xx.yy.221.102 via ge-0/0/0.0, Push 20

I am getting a route from a contrail controller towards my router,
this is so far working fine. But I need this route in the default table inet.0.

So I tried with RIB-groups:

teichhorn at firefly-contrail> show configuration routing-options

}
rib-groups {
    COPY_FLOAT_TO_GLOBAL {
        import-rib [ floating.inet.0 inet.0 ];
        import-policy pol-accept;
    }
}

pol-accept simply accepts all - but the route is not beeing copied and I have no
clue why - the rib group magic was always voodoo for me...

Any idea or "best practices" to solve with another way?

Thanks,
Tom


More information about the juniper-nsp mailing list