SmartSwitch Router User Reference Manual 163Chapter 13: Routing Policy Configuration GuideImport PoliciesImport policies control the importation of routes from routing protocols and theirinstallation in the routing databases (Routing Information Base and ForwardingInformation Base). Import Policies determine which routes received from other systemsare used by the SSR routing process. Every import policy can have up to two components:• Import-Source• Route-FilterImport-SourceThis component specifies the source of the imported routes. It can also specify thepreference to be associated with the routes imported from this source.The routes to be imported can be identified by their associated attributes:• Type of the source protocol (RIP, OSPF, BGP).• Source interface or gateway from which the route was received.• Source autonomous system from which the route was learned.• AS path associated with a route. Besides autonomous system, BGP also supportsimportation of routes using AS path regular expressions and AS path options.• If multiple communities are specified using the optional-attributes-list, only updatescarrying all of the specified communities will be matched. If the specified optional-attributes-list has the value none for the well-known-community option, then onlyupdates lacking the community attribute will be matched.In some cases, a combination of the associated attributes can be specified to identify theroutes to be imported.Note: It is quite possible for several BGP import policies to match a given update. Ifmore than one policy matches, the first matching policy will be used. All latermatching policies will be ignored. For this reason, it is generally desirable to orderimport policies from most to least specific. An import policy with an optional-attributes-list will match any update with any (or no) communities.The importation of RIP routes may be controlled by source interface and source gateway.RIP does not support the use of preference to choose between RIP routes. That is left to theprotocol metrics.Due to the nature of OSPF, only the importation of ASE routes may be controlled. OSPFintra-and inter-area routes are always imported into the routing table with a preference of10. If a tag is specified with the import policy, routes with the specified tag will only beimported.