Riverstone Networks WICT1-12 Network Router User Manual


 
Riverstone Networks RS Switch Router User Guide Release 8.0 18-15
Routing Policy Configuration Configuring Advanced Routing Policies
<filter-id> If specified, is the identifier of the route-filter associated with this export-policy. If there is more than
one route-filter for any export-destination and export-source combination, then the
ip-router
policy export destination
<exp-dest-id>
source
<exp-src-id> command should be
repeated for each <filter-id>.
18.3.2 Creating an Export Destination
To create an export destination, enter one the following commands in Configure mode:
18.3.3 Creating an Export Source
To create an export source, enter one of the following commands in Configure mode:
18.3.4 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 an IS-IS export destination.
ip-router policy create isis-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>
Create an IS-IS export source.
ip-router policy create isis-export-source
<name>