You can install a static route into more than one routing table. For example, you might want a simple configuration that allows you to install a static route into the default routing table inet.0, as well as a second routing table inet.2. Instead of configuring the same static route for each routing table, you can use routing table groups to insert the route into multiple tables. To create a routing table group, include the rib-group statement.
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
To install the routing table into a configured routing table group, include the import-rib statement:
-
rib-group group-name {
-
import-rib [ routing-table-names ];
- }
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
The first routing table you list in the import-rib statement must be the one you configured in the rib-group statement.