User Manual

Configuring Advanced Routing Policies
266 Enterasys X-Pedition User Reference Manual
Exporting Aggregate-Routes into RIP
In the configuration shown in Figure 21 on page 256, suppose you decide to run RIP Version 1 on
network 130.1.0.0/16, connecting routers R1 and R3. Router R1 desires to announce the
140.1.1.0/24 and 140.1.2.0/24 networks to router R3. RIP Version 1 does not carry any information
about subnet masks in its packets. Thus it would not be possible to announce the subnets
(140.1.1.0/24 and 140.1.2.0/24) into RIP Version 1 without aggregating them.
1. Create an Aggregate-Destination which represents the aggregate/summarized route.
2. Create an Aggregate-Source which qualifies the source of the routes contributing to the
aggregate. Since in this case, we do not care about the source of the contributing routes, we
would specify the protocol as all.
3. Create the aggregate/summarized route. This command binds the aggregated route with the
contributing routes.
4. Create a RIP export destination for interface with address 130.1.1.1, since we intend to change
the rip export policy only for interface 130.1.1.1.
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.
5. Create a Aggregate export source since we would to export/redistribute an
aggregate/summarized route.
6. Create a RIP export source since we would like to export RIP routes.
7. Create a Direct export source since we would like to export Direct routes.
ip-router policy create aggr-gen-dest aggrDst140 network 140.1.0.0/16
ip-router policy create aggr-gen-source allAggrSrc protocol all
ip-router aggr-gen destination aggrDst140 source allAggrSrc network 140.1.1.0/24
ip-router aggr-gen destination aggrDst140 source allAggrSrc network 140.1.2.0/24
ip-router policy create rip-export-destination ripExpDst130 interface 130.1.1.1
ip-router policy create aggr-export-source aggrExpSrc
ip-router policy create rip-export-source ripExpSrc
ip-router policy create direct-export-source directExpSrc