Cabletron Systems SmartSwitch manual 196

Models: SmartSwitch

1 338
Download 338 pages 45.77 Kb
Page 196
Image 196

Chapter 11: Routing Policy Configuration Guide

4.Create a Direct export source since we would like to export interface/direct routes.

ip-router policy create direct-export-source directExpSrc

5.Create the Export-Policy for redistributing all interface routes and static routes into OSPF.

ip-router policy export destination ospfExpDstType1 source directExpSrc network all

ip-router policy export destination ospfExpDstType2 source statExpSrc network all

Exporting All RIP, Interface & Static Routes to OSPF

Note: Also export interface, static, RIP, OSPF, and OSPF-ASE routes into RIP.

In the configuration shown in Figure 18 on page 187, suppose we decide to run RIP Version 2 on network 120.190.0.0/16, connecting routers R1 and R2.

We would like to redistribute these RIP routes as OSPF type-2 routes, and associate the tag 100 with them. Router R1 would also like to redistribute its static routes as type 2 OSPF routes. The interface routes would redistributed as type 1 OSPF routes.

Router R1 would like to redistribute its OSPF, OSPF-ASE, RIP, Static and Interface/Direct routes into RIP.

1.Enable RIP on interface 120.190.1.1/16.

rip add interface 120.190.1.1

rip set interface 120.190.1.1 version 2 type multicast

2.Create a OSPF export destination for type-1 routes.

ip-router policy create ospf-export-destination ospfExpDstType1 type 1 metric 1

3.Create a OSPF export destination for type-2 routes.

ip-router policy create ospf-export-destination ospfExpDstType2 type 2 metric 4

4.Create a OSPF export destination for type-2 routes with a tag of 100.

ip-router policy create ospf-export-destination ospfExpDstType2t100 type 2 tag 100 metric 4

196

SmartSwitch Router User Reference Manual

Page 196
Image 196
Cabletron Systems SmartSwitch manual 196