DIGITAL GIGAswitch/Router User Reference Manual
157
Configuring Advanced Routing Policies
To create route import policies, enter the following command in Configure mode:
The
<imp-src-id>
is 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.
The
<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>
.
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:
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:
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>