Cabletron Systems 9032578-02 Router User Manual


 
Chapter 7: Routing Policy Configuration Guide
138 SmartSwitch Router User Reference Manual
8. Create the Export-Policy redistributing all (RIP, Direct) routes and the aggregate route
140.1.0.0/16 into RIP.
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-destination command.
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-destination command.
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 12 on page 131.
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
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