[j-nsp] Are "rib inet.0 static" and plain "static route" the same?

Saku Ytti saku at ytti.fi
Mon Dec 17 08:24:44 EST 2012


On (2012-12-17 12:49 +0000), Mark Lists wrote:

> set routing-options rib inet.0 static route x.x.x.x/y
> set routing-options static route x.x.x.x/y

Yeah they're the same. But there is some commit parsing bug where if you
use both the explicit rib routes might get ignored.

broken:

rib VRF8.inet.0 {
    static {
        route 2.2.2.0/24 next-hop 22.22.22.42;
    }
}
rib VRF8.inet.6 {
    maximum-paths 43;
}
static {
    route 1.1.1.0/24 next-hop 22.22.22.42;
}


working:

rib VRF8.inet.0 {
    static {
        route 2.2.2.0/24 next-hop 22.22.22.42;
        route 1.1.1.0/24 next-hop 22.22.22.42;
    }
}
rib VRF8.inet.6 {
    maximum-paths 42;
}



test by mangling maximum-paths (commit full should fix also)

I think it was fixed in 11.4R3 or something, can't recall.
-- 
  ++ytti


More information about the juniper-nsp mailing list