[Contents] [Prev] [Next] [Index] [Report an Error]


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 passive statement at the [edit routing-options static (defaults | route)] hierarchy level:

[edit routing-options static (defaults | route)] 
passive; 

To have an IPv6 static route remain installed in the routing and forwarding tables, include the passive statement at the [edit routing-options rib inet6.0 static (defaults | route)] hierarchy level:

[edit routing-options rib inet6.0 static (defaults | route)] 
passive; 

Routes that have been configured to remain continually installed in the routing and forwarding tables are marked with reject next hops when they are inactive.

To explicitly remove IPv4 static routes when they become inactive, include the active statement at the [edit routing-options static (defaults | route)]. Include this statement when configuring an individual route in the route portion of the static statement to override a retain option specified in the defaults portion of the statement.

[edit routing-options static (defaults | route)] 
active; 

To explicitly remove IPv6 static routes when they become inactive, include the active statement at the [edit routing-options rib inet6.0 static (defaults | route)] hierarchy level. Include this statement when configuring an individual route in the route portion of the static statement to override a retain statement specified in the defaults portion of the statement.

[edit routing-options rib inet6.0 static (defaults | route)] 
active; 

[Contents] [Prev] [Next] [Index] [Report an Error]