SmartSwitch Router User Reference Manual 123Chapter 7: Routing Policy Configuration GuideCreating an Export DestinationTo create an export destination, enter one the following commands in Configure mode:Creating an Export SourceTo create an export source, enter one of the following commands in Configure mode:Import PoliciesImport policies can be constructed from one or more of the following building blocks:• Import-source - This component specifies the source of the imported routes. It can alsospecify the preference to be associated with the routes imported from this source. Theroutes to be imported can be identified by their associated attributes, including sourceprotocol, Source interface or gateway from which the route was received, and so on.• Route Filter - This component provides the means to define a filter for the routes to beimported. Routes that match a filter are considered as eligible for importation. This canbe done using one of two methods:– Creating a route-filter and associating an identifier with it. A route-filter hasseveral network specifications associated with it. Every route is checked againstthe set of network specifications associated with all route-filters to determine itseligibility for importation. The identifier associated with a route-filter is used in theip-router policy import command.– Specifying the networks as needed in the ip-router policy import command.If you want to create a complex route-filter, and you intend to use that route-filter inseveral import policies, then the first method is recommended. It you do not havecomplex filter requirements, then use the second method.After you create one or more building blocks, they are tied together by the iprouter policyimport command.Create a RIP export destination. ip-router policy create rip-export-destination <name>Create an OSPF exportdestination.ip-router policy create ospf-export-destination <name>Create a RIP exportsource.ip-router policy create rip-export-source Create an OSPF exportsource.ip-router policy create ospf-export-source