By default, the JUNOS software installs all active static routes into the forwarding table. To configure the software not to install active IPv4 static routes into the forwarding table, include the no-install statement:
-
static (defaults | route) {
-
no-install;
- }
To configure the software not to install active IPv6 static routes into the forwarding table, include the no-install statement:
-
rib inet6.0 static (defaults | route) {
-
no-install;
- }
Even if you configure a route so it is not installed in the forwarding table, the route is still eligible to be exported from the routing table to other protocols. To explicitly install IPv4 routes into the forwarding table, include the install statement. Include this statement when configuring an individual route in the route portion of the static statement to override a no-install option specified in the defaults portion of the statement.
-
static (defaults | route) {
-
install;
- }
To explicitly install IPv6 routes into the forwarding table, include the install statement. Include this statement when configuring an individual route in the route portion of the static statement to override a no-install statement specified in the defaults portion of the statement.
-
rib inet6.0 static (defaults | route) {
-
install;
- }
For a list of hierarchy levels at which you can include these statements, see the statement summary sections for these statements.