Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

active

Syntax

(active | passive);

Hierarchy Level

[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options (aggregate | generate | static) (defaults | route)],[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options rib routing-table-name (aggregate | generate | static) (defaults | route)],[edit logical-systems logical-system-name routing-options (aggregate | generate | static) (defaults | route)],[edit logical-systems logical-system-name routing-options rib routing-table-name (aggregate | generate | static) (defaults | route)],[edit routing-instances routing-instance-name routing-options (aggregate | generate | static) (defaults | route)],[edit routing-instances routing-instance-name routing-options rib routing-table-name (aggregate | generate | static) (defaults | route)],[edit routing-options (aggregate | generate | static) (defaults | route)],[edit routing-options rib routing-table-name (aggregate | generate | static) (defaults | route)]

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 11.3 for the QFX Series.

Statement introduced in Junos OS Release 12.3 for ACX Series routers.

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.

Published: 2013-01-17