Chapter 5: OSPF Configuration Guide
68 SmartSwitch Router User Reference Manual
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.
2. Create a OSPF export destination for type-1 routes.
3. Create a OSPF export destination for type-2 routes.
4. Create a OSPF export destination for type-2 routes with a tag of 100.
5. Create a RIP export source.
6. Create a Static export source.
7. Create a Direct export source.
8. Create the Export-Policy for redistributing all interface, RIP and static routes into
OSPF.
rip add interface 120.190.1.1
rip set interface 120.190.1.1 version 2 type multicast
ip-router policy create ospf-export-destination ospfExpDstType1 type
1 metric 1
ip-router policy create ospf-export-destination ospfExpDstType2 type
2 metric 4
ip-router policy create ospf-export-destination ospfExpDstType2t100
type 2 tag 100 metric 4
ip-router policy export destination ripExpDst source ripExpSrc
network all
ip-router policy create static-export-source statExpSrc
ip-router policy create direct-export-source directExpSrc
ip-router policy export destination ospfExpDstType1 source
directExpSrc network all
ip-router policy export destination ospfExpDstType2 source
statExpSrc network all
ip-router policy export destination ospfExpDstType2t100 source
ripExpSrc network all