Chapter 11: Routing Policy Configuration Guide
150
DIGITAL GIGAswitch/Router User Reference Manual
Redistributing OSPF to RIP
For the purposes of route redistribution and import-export policies, OSPF intra- and inter-
area routes are referred to as
ospf
routes, and external routes redistributed into OSPF are
referred to as
ospf-ase
routes. Examples of
ospf-ase
routes include
static
routes,
rip
routes,
direct
routes,
bgp
routes, or
aggregate
routes, which are redistributed into an
OSPF domain.
OSPF routes may be redistributed into RIP. To redistribute OSPF into RIP, enter the
following command in Configure mode:
Redistributing Aggregate Routes
The
aggregate
parameter causes an aggregate route with the specified IP address and
subnet mask to be redistributed.
Note:
The aggregate route must first be created using the
aggr-gen
command
.
This
command creates a specified aggregate route for routes that match the aggregate.
To redistribute aggregate routes, enter one of the following commands in Configure mode:
Simple Route Redistribution Examples
Example 1: Redistribution into RIP
For all examples given in this section, refer to the configurations shown in
Figure 17 on
page 160
.
The following configuration commands for router R1:
•
Determine the IP address for each interface
•
Specify the static routes configured on the router
To redistribute ospf-ase
routes into rip.
ip-router policy redistribute from-proto
ospf-ase to-proto rip
To redistribute ospf routes
into rip.
ip-router policy redistribute from-proto
ospf to-proto rip
To redistribute aggregate
routes into RIP.
ip-router policy redistribute from-proto
aggregate to-proto rip
To redistribute aggregate
routes into OSPF.
ip-router policy redistribute from-proto
aggregate to-proto OSPF