ospf add interface 140.1.2.1 to-area 140.1.0.0
ospf add interface 140.1.3.1 to-area 140.1.0.0
ospf add interface 130.1.1.1 to-area backbone
Exporting All Interface & Static Routes to OSPF
Router R1 has several static routes. We would export these static routes as type-2 OSPF
routes. The interface routes would be redistributed as type-1 OSPF routes.
1.
Create a OSPF export destination for type-1 routes since we would like to redistribute
certain routes into OSPF as type 1 OSPF-ASE routes.
ip-router policy create ospf-export-destination ospfExpDstType1 type
2.
Create a OSPF export destination for type-2 routes since we would like to redistribute
certain routes into OSPF as type 2 OSPF-ASE routes.
ip-router policy create ospf-export-destination ospfExpDstType2 type
3.
Create a Static export source since we would like to export static routes.
ip-router policy create static-export-source statExpSrc
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
ip-router policy export destination ospfExpDstType2 source
Export 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
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.
SmartSwitch Router User Reference Manual
1 metric 1
2 metric 4
directExpSrc network all
statExpSrc network all
Figure 1 on page
Chapter 5: OSPF Configuration Guide
70, suppose if we decide to run RIP
67
Need help?
Do you have a question about the SmartSwitch Router and is the answer not in the manual?
Questions and answers