I'm learn JNCIS-SP chapter 1 Protocol-Independent Routing. I see a option "retain/no-retain" static route.

I understand If a route configured with option retain so that route will not remove on Forwarding table when the Routing protocol daemon will shutdown.

But what is situation for "retain" option? Because when a device is shutdown => PFE down too?

retain | Junos OS

1 Answer 1


JunOS can preserve forwarding table states during RPD or control plane restart/reboot under certain conditions...

This is described in HA module of JNCIS-SP track. -->> Graceful Restart, GRES and NSR.

The HA module describes the behavior of Graceful Restart of Dynamic Routing Protocols rather than static routes. I suspect this might be a way to preserve that static route active in Forwarding-Table too.

I hope this is helpful.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.