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

13427525757 at 139.com 13427525757 at 139.com
Sat Apr 19 04:58:14 EDT 2014







hi:
  the RIB-groups must apply   


From: Tom EichhornDate: 2014-04-19 16:01To: juniper-nspSubject: [j-nsp] Moving routes between VRF and inet.0Dear 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
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list