User Manual

Configuring Advanced Routing Policies
252 Enterasys X-Pedition User Reference Manual
Creating an Export Destination
To create an export destination, enter one the following commands in Configure mode:
Note: When you use the ip-router policy create rip-export-destination command in
conjunction with the gateway option in ip-router policy export, you must use rip add
source-gateways for each address indicated in the gateway option.
Creating an Export Source
To create an export source, enter one of the following commands in Configure mode:
Import Policies
Import 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 also specify
the preference to be associated with the routes imported from this source. The routes to be
imported can be identified by their associated attributes, including source protocol, 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 be imported.
Routes that match a filter are considered as eligible for importation. This can be done using one
of two methods:
Creating a route-filter and associating an identifier with it. A route-filter has several
network specifications associated with it. Every route is checked against the set of network
specifications associated with all route-filters to determine its eligibility for importation.
The identifier associated with a route-filter is used in the ip-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 in several
import policies, then the first method is recommended. It you do not have complex filter
requirements, then use the second method.
Create a RIP export destination.
ip-router policy create rip-export-destination <name>
Create an OSPF export destination.
ip-router policy create ospf-export-destination <name>
Create a RIP export
source.
ip-router policy create rip-export-source <name>
Create an OSPF export
source.
ip-router policy create ospf-export-source <name>