18-16 Riverstone Networks RS Switch Router User Guide Release 8.0
Configuring Advanced Routing Policies Routing Policy Configuration
After you create one or more building blocks, they are tied together by the ip-router policy import command.
To create route import policies, enter the following command in Configure mode:
<imp-src-id> The identifier of the import-source that determines the source of the imported routes. If no routes from
a particular source are to be imported, then no additional parameters are required.
<filter-id> If specified, is the identifier of the route-filter associated with this import-policy. If there is more than
one route-filter for any import-source, then the ip-router policy import source <imp-src-id>
command should be repeated for each <filter-id>.
18.3.5 Creating an Import Source
Import sources specify the routing protocol from which the routes are imported. The source may be RIP or OSPF.
To create an import source, enter one of the following commands in Configure mode:
18.3.6 Creating a Route Filter
Route policies are defined by specifying a set of filters that will match a certain route by destination or by destination
and mask.
To create route filters, enter the following command in Configure mode:
18.3.7 Creating an Aggregate Route
Route aggregation is a method of generating a more general route, given the presence of a specific route. The routing
process does not perform any aggregation unless explicitly requested. Aggregate-routes can be constructed from one
or more of the following building blocks:
Create an import policy. ip-router policy import source <imp-src-id> [filter
<filter-id>|[network <ipAddr-mask> [exact|refines|between
<low-high>] [preference <number>|restrict]]]
Create a RIP import destination. ip-router policy create rip-import-source <name>
Create an OSPF import destination. ip-router policy create ospf-import-source <name>
Create a route filter. ip-router policy create filter <name-id> network
<IP-address/mask>