Chapter 11: Routing Policy Configuration Guide

8.Create the Export-Policy redistributing all (RIP, Direct) routes and the aggregate route 140.1.0.0/16 into RIP.

ip-router policy export destination ripExpDst130 source aggrExpSrc network 140.1.0.0/16

ip-router policy export destination ripExpDst130 source ripExpSrc network all

ip-router policy export destination ripExpDst130 source directExpSrc network all

Example 2: Exporting to OSPF

It is not possible to create OSPF intra- or inter-area routes by exporting routes from the SSR routing table into OSPF. It is only possible to export from the SSR routing table into OSPF ASE routes. It is also not possible to control the propagation of OSPF routes within the OSPF protocol.

There are two types of OSPF ASE routes: type 1 and type 2. The default type is specified by the ospf set ase-defaults type 1/2 command. This may be overridden by a specification in the ip-router policy create ospf-export-destinationcommand.

OSPF ASE routes also have the provision to carry a tag. This is an arbitrary 32-bit number that can be used on OSPF routers to filter routing information. The default tag is specified by the ospf set ase-defaults tag command. This may be overridden by a tag specified with the ip-router policy create ospf-export-destinationcommand.

Interface routes are not automatically exported into OSPF. They have to be explicitly done.

For all examples in this section, refer to the configuration shown in Figure 18 on page 187.

The following configuration commands for router R1:

Determine the IP address for each interface

Specify the static routes configured on the router

Determine its OSPF configuration

194

SmartSwitch Router User Reference Manual

Page 194
Image 194
Cabletron Systems SmartSwitch manual Example 2 Exporting to Ospf