Tuesday, November 08, 2011

not installing a bunch of junk in your fib.

you have a route reflector running in a logical system in junos...

the thing has 400k routes but it doesn't really need them, in fact they're just cluttering up the fib.

solution.

routing-options {
...
forwarding-table {
export [ logical-system-fib-compress reject-all ];
}
}

policy-options {

policy-statement logical-system-fib-compress {
from protocol [ direct static isis ];
then accept;
}
policy-statement reject-all {
then reject;
}

}

now you've got some igp routes for local color a sensible default and a rib of essentially arbitrary size.