Chapter 13: Routing Policy Configuration Guide174 SmartSwitch Router User Reference Manual• Specify the static routes configured on the router• Determine its OSPF configurationExporting All Interface & Static Routes to OSPFRouter R1 has several static routes. We would like to export all these static routes anddirect-routes (routes to connected networks) into OSPF.Note: The network parameter specifying the network-filter is optional. The defaultvalue for this parameter is all, indicating all networks. Since in the aboveexample, we would like to export all static and direct routes into OSPF, we havenot specified this parameter.Exporting All RIP, Interface & Static Routes to OSPFNote: Also export interface, static, RIP, OSPF, and OSPF-ASE routes into RIP.!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! Create the various IP interfaces.!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++interface create ip to-r2 address-netmask 120.190.1.1/16 portet.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 redistribute from-proto static to-proto ospfip-router policy redistribute from-proto direct to-proto ospf