import-rib
Syntax
import-rib [ routing-table-names ];
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options rib-groups group-name], [edit logical-systems logical-system-name routing-options rib-groups group-name], [edit routing-instances routing-instance-name routing-options rib-groups group-name], [edit routing-options rib-groups group-name]
Description
Specify the name of the routing table into which Junos OS should import routing information. The first routing table name you enter is the primary routing table. Any additional names you enter identify secondary routing tables. When a protocol imports routes, it imports them into the primary and any secondary routing tables. If the primary route is deleted, the secondary route also is deleted. For IPv4 import routing tables, the primary routing table must be inet.0 or routing-instance-name.inet.0. For IPv6 import routing tables, the primary routing table must be inet6.0.
In Junos OS Release 9.5 and later, you can configure an IPv4 import routing table that includes both IPv4 and IPv6 routing tables. Including both types of routing tables permits you, for example, to populate an IPv6 routing table with IPv6 addresses that are compatible with IPv4. In releases prior to Junos OS Release 9.5, you could configure an import routing table with only either IPv4 or IPv6 routing tables.
On EX Series switches, only dynamically learned routes can be imported from one routing table group to another.
Options
routing-table-names—Name of one or more routing tables.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.