To apply policy to routes being imported into the routing table from BGP, include the import statement, listing the names of one or more policies to be evaluated:
- import [ policy-names ];
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
If you specify more than one policy, they are evaluated in the order specified, from first to last, and the first matching filter is applied to the route. If no match is found, BGP places into the routing table only those routes that were learned from BGP routers.