Supported Platforms
Related Documentation
- ACX, J, M, MX, SRX, T Series
- Examples: Configuring Static Routes
- ACX, J, M, MX, PTX, SRX, T Series
- Example: Summarizing Routes Through Route Aggregation
- ACX, M, MX, T Series
- Example: Conditionally Generating Static Routes
active
Syntax
Hierarchy Level
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.
Related Documentation
- ACX, J, M, MX, SRX, T Series
- Examples: Configuring Static Routes
- ACX, J, M, MX, PTX, SRX, T Series
- Example: Summarizing Routes Through Route Aggregation
- ACX, M, MX, T Series
- Example: Conditionally Generating Static Routes
Published: 2013-01-17
Supported Platforms
Related Documentation
- ACX, J, M, MX, SRX, T Series
- Examples: Configuring Static Routes
- ACX, J, M, MX, PTX, SRX, T Series
- Example: Summarizing Routes Through Route Aggregation
- ACX, M, MX, T Series
- Example: Conditionally Generating Static Routes