Static routes are only removed from the routing table if the next hop becomes unreachable, which happens if there are no contributing routes. To have an aggregate route remain continually installed in the routing and forwarding tables, include the passive option when configuring the route:
-
aggregate (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 aggregate routes when they become inactive, include the active option when configuring routes. Include this option when configuring an individual route in the route portion of the aggregate statement to override a retain option specified in the defaults portion of the statement.
-
aggregate (defaults | route) {
-
active;
- }
For a list of hierarchy levels at which you can include these statements, see the statement summary sections for these statements.