Specify Whether the Route Is Permanently Installed in the Forwarding Table
By default, statically configured routes are deleted from the forwarding table when the routing protocol process shuts down normally. To have an IPv4 static route remain in the forwarding table, include the
retainstatement. Doing this greatly reduces the time required to restart a system that has a large number of routes in its routing table.[edit routing-options static (defaults | route)]retain;To have an IPv6 static route remain in the forwarding table, include the
retainstatement. Doing this greatly reduces the time required to restart a system that has a large number of routes in its routing table.[edit routing-options rib inet6.0 static (defaults | route)]retain;To explicitly specify that IPv4 routes be deleted from the forwarding table, include the
no-retainstatement. Include this statement when configuring an individual route in therouteportion of thestaticstatement to override aretainoption specified in thedefaultsportion of the statement.[edit routing-options static (defaults | route)]no-retain;To explicitly specify that IPv6 routes be deleted from the forwarding table, include the
no-retainstatement. Include this statement when configuring an individual route in therouteportion of thestaticstatement to override aretainstatement specified in thedefaultsportion of the statement.[edit routing-options rib inet6.0 static (defaults | route)]no-retain;For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.