SmartSwitch Router User Reference Manual 193Chapter 13: Routing Policy Configuration GuideExporting All Interface & Static Routes to OSPFRouter R1 has several static routes. We would export these static routes as type-2 OSPFroutes. The interface routes would redistributed as type 1 OSPF routes.1. Create a OSPF export destination for type-1 routes since we would like to redistributecertain routes into OSPF as type 1 OSPF-ASE routes.2. Create a OSPF export destination for type-2 routes since we would like to redistributecertain routes into OSPF as type 2 OSPF-ASE routes.3. Create a Static export source since we would like to export static routes.!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! Create the various IP interfaces.!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++interface create ip to-r2 address-netmask 120.190.1.1/16 port et.1.2interface create ip to-r3 address-netmask 130.1.1.1/16 port et.1.3interface create ip to-r41 address-netmask 140.1.1.1/24 port et.1.4interface create ip to-r42 address-netmask 140.1.2.1/24 port et.1.5interface create ip to-r6 address-netmask 140.1.3.1/24 port et.1.6!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! Configure default routes to the other subnets reachable through R2.!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ip add route 202.1.0.0/16 gateway 120.1.1.2ip add route 160.1.5.0/24 gateway 120.1.1.2!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! OSPF Box Level Configuration!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ospf startospf create area 140.1.0.0ospf create area backboneospf set ase-defaults cost 4!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! OSPF Interface Configuration!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ospf add interface 140.1.1.1 to-area 140.1.0.0ospf add interface 140.1.2.1 to-area 140.1.0.0ospf add interface 140.1.3.1 to-area 140.1.0.0ospf add interface 130.1.1.1 to-area backboneip-router policy create ospf-export-destination ospfExpDstType1type 1 metric 1ip-router policy create ospf-export-destination ospfExpDstType2type 2 metric 4ip-router policy create static-export-source statExpSrc