Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

active

Syntax

Hierarchy Level

Description

Determine whether static, aggregate, or generated routes are removed from the routing and forwarding tables when they become inactive. Static routes are only removed from the routing table if the next hop becomes unreachable. This can occur if the local or neighbor interface goes down. 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.

  • active—Remove a route from the routing and forwarding tables when it becomes inactive.

  • passive—Have a route remain continually installed in the routing and forwarding tables even when it becomes inactive.

Include the active statement when configuring an individual route in the route portion of the static statement to override a passive option specified in the defaults portion of the statement.

Default

active

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.