[j-nsp] rib group
Truman Boyes
truman at suspicious.org
Sun May 2 15:01:32 EDT 2010
Let's say that you have the following stanza under your master routing instance:
routing-options {
interface-routes {
rib-group inet if-route;
}
static {
rib-group static-rg;
route 0.0.0.0/0 next-hop 30.30.30.13;
route 3.3.3.3/32 next-hop 30.30.30.10;
route 220.220.220.1/32 discard;
}
rib-groups {
if-route {
import-rib [ inet.0 manhattan-alternate.inet.0 ];
}
bgp-rg {
import-rib [ inet.0 manhattan-alternate.inet.0 ];
}
static-rg {
import-rib [ inet.0 manhattan-alternate.inet.0 ];
import-policy STATIC-RG-NO-DEFAULT;
}
ospf-rg {
import-rib [ inet.0 manhattan-alternate.inet.0 ];
}
}
}
Take a look at the static-rg rib-group that has an import policy. In this example, I have an import policy that looks like this:
lab at cs-m10i# show policy-options policy-statement STATIC-RG-NO-DEFAULT
term default-reject {
from {
route-filter 0.0.0.0/0 exact;
}
then reject;
}
term accept {
then accept;
}
This will reject the protocol static 0/0 route from inet.0 when copying to manhattan-alternate.inet.0.
Hope this helps to make sense of RIB groups in JUNOS.
Kind regards,
Truman
On 27/04/2010, at 12:02 AM, David water wrote:
> All,
>
> How does rib-group work in JUNOS? How does the import and export works using
> rib-groups?
>
> --
> David W.
> _______________________________________________
> 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