Riverstone Networks WICT1-12 User Manual

Page 458

Advertising
background image

18-28 Riverstone Networks RS Switch Router User Guide Release 8.0

Configuring Advanced Routing Policies

Routing Policy Configuration

5.

Create the Export-Policy, redistributing all static routes reachable over interface 130.1.1.1 and all
(RIP, Direct) routes into RIP.

Exporting Aggregate-Routes into RIP

In the configuration shown in

Figure 18-1

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

ip-router policy export destination ripExpDst141 source statExpSrc130 network all

ip-router policy export destination ripExpDst141 source ripExpSrc network all

ip-router policy export destination ripExpDst141 source directExpSrc network all

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 policy aggr-gen destination aggrDst140 source allAggrSrc network

140.1.1.0/24

ip-router policy 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

Advertising