retain
Syntax
Hierarchy Level
[edit routing-optionsstatic(defaults | route)],[edit routing-options ribrouting-table-namestatic(defaults | route)],[edit routing-instancesrouting-instance-namerouting-optionsstatic(defaults | route)],[edit routing-instancesrouting-instance-namerouting-options ribrouting-table-namestatic]
(defaults | route)Description
Configure statically configured routes to be deleted from or retained in the forwarding table when the routing protocol process shuts down normally:
retain—Have a static route remain in the forwarding table when the routing protocol process shuts down normally. Doing this greatly reduces the time required to restart a system that has a large number of routes in its routing table.no-retain—Delete statically configured routes from the forwarding table when the routing protocol process shuts down normally.Default
Usage Guidelines
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.See Also