Specify Whether Inactive Routes Are Removed from the Routing or Forwarding Table
By default, static routes are removed from the routing and forwarding tables when they become inactive. To have an IPv4 static route remain installed in the routing and forwarding tables, include the
passivestatement:[edit routing-options static (defaults | route)]passive;To have an IPv6 static route remain installed in the routing and forwarding tables, include the
passivestatement:[edit routing-options rib inet6.0 static (defaults | route)]passive;For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.
Routes that have been configured to remain continually installed in the routing and forwarding tables are marked with
rejectnext hops when they are inactive.To explicitly remove IPv4 static routes when they become inactive, include the
activestatement. 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)]active;To explicitly remove IPv6 static routes when they become inactive, include the
activestatement. 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)]active;For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.