[j-nsp] import BGP routes in RIB

Richard A Steenbergen ras@e-gerbil.net
Mon, 14 Oct 2002 15:13:23 -0400


On Thu, Sep 05, 2002 at 03:02:52PM -0700, Andrew Ramsey wrote:
> group internal {
>     type internal;
>     local-address 10.10.10.102;
>     family inet {
>         unicast {
>             rib-group new_rib;
>         }
>     }
>     neighbor 10.10.10.40;
> }

Ah, thats the part I was missing. But here is a question, can you apply
an import policy per rib instead of per rib-group?

For example, lets say you are a provider buying and selling transit in two 
very different classes of service, say Cogent and "Someone Expensive". 
Lets say you wanted to setup two routing-instances, one where the cheap 
transit is primary and the expensive one backs it up in the event of a 
failure, and one where the roles are reversed.

Since you can only set one rib-group for export under the bgp peer, all 
the ribs would have to be under one rib-group. But how do you apply an 
import policy for each rib? There isn't an import-policy on the rib level, 
and it doesn't seem to have any effect on the routing-instance level.

-- 
Richard A Steenbergen <ras@e-gerbil.net>       http://www.e-gerbil.net/ras
PGP Key ID: 0x138EA177  (67 29 D7 BC E8 18 3E DA  B2 46 B3 D8 14 36 FE B6)