To filter routes being imported by the local router from its neighbors, include the import statement and list the names of one or more policies to be evaluated. If you specify more than one policy, they are evaluated in order (first to last) and the first matching policy is applied to the route. If no match is found, the local router does not import any routes.
-
import [ policy-names ];
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
For more information about creating policies, see the JUNOS Policy Framework Configuration Guide.