Installing Static Routes into More than One Routing Table
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:
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.
Examples: Installing a Static Route into More than One Routing Table
Install an IPv4 static route into inet.0 and inet.2:
Install an IPv6 static route into the inet6.0 and inet6.2 routing tables:
Hide Navigation Pane
Show Navigation Pane
Download
SHA1