18-32 Riverstone Networks RS Switch Router User Guide Release 8.0
Configuring Advanced Routing Policies Routing Policy Configuration
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.
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