Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

import-policy

Syntax

import-policy [ policy-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]

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 11.3 for the QFX Series.

Description

Apply one or more policies to routes imported into the routing table group. The import-policy statement complements the import-rib statement and cannot be used unless you first specify the routing tables to which routes are being imported.

Note: On EX Series switches, only dynamically learned routes can be imported from one routing table group to another.

Options

policy-names—Name of one or more policies.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Published: 2013-01-17