Chapter 13: Routing Policy Configuration Guide

routes to be exported can be identified by their associated attributes, such as protocol type, interface or the 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 distributed. Routes that match a filter are considered as eligible for redistribution. 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 redistribution. The identifier associated with a route-filter is used in the ip-router policy export command.

Specifying the networks as needed in the ip-router policy export command.

If you want to create a complex route-filter, and you intend to use that route-filter in several export policies, then the first method is recommended. It you do not have complex filter requirements, then use the second method.

After you create one or more building blocks, they are tied together by the iprouter policy export command.

To create route export policies, enter the following command in Configure mode:

Create an export policy.

ip-router policy export destination <exp-dest-id>[source <exp-src-id>[filter <filter-id>[network <ipAddr-mask>[exactrefinesbetween <low-high>] [metric <number>restrict]]]]

The <exp-dest-id>is the identifier of the export-destination which determines where the routes are to be exported. If no routes to a particular destination are to be exported, then no additional parameters are required.

The <exp-src-id>, if specified, is the identifier of the export-source which determines the source of the exported routes. If a export-policy for a given export-destination has more than one export-source, then the ip-router policy export destination <exp-dest-id>command should be repeated for each <exp-src-id>.

The <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>.

176

SmartSwitch Router User Reference Manual

Page 202
Image 202
Cabletron Systems 9032578-05 manual 176