Chapter 7: Routing Policy Configuration Guide128 SmartSwitch Router User Reference ManualImporting a Selected Subset of Routes from One RIP Trusted GatewayRouter R1 has several RIP peers. Router R41 has an interface on the network 10.51.0.0. Bydefault, router R41 advertises network 10.51.0.0/16 in its RIP updates. Router R1 wouldlike to import all routes except the 10.51.0.0/16 route from its peer R41.!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! 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 160.1.1.1/16 port et.1.6interface create ip to-r7 address-netmask 170.1.1.1/16 port et.1.7!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! Configure a default route through 170.1.1.7!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ip add route default gateway 170.1.1.7!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! Configure default routes to the 135.3.0.0 subnets reachable through! R3.!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ip add route 135.3.1.0/24 gateway 130.1.1.3ip add route 135.3.2.0/24 gateway 130.1.1.3ip add route 135.3.3.0/24 gateway 130.1.1.3!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! Configure default routes to the other subnets reachable through R2.!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ip add route 202.1.0.0/16 gateway 120.190.1.2ip add route 160.1.5.0/24 gateway 120.190.1.2!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! RIP Box Level Configuration!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++rip startrip set default-metric 2!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++! RIP Interface Configuration. Create a RIP interfaces, and set! their type to (version II, multicast).!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++rip add interface to-r41rip add interface to-r42rip add interface to-r6rip set interface to-r41 version 2 type multicastrip set interface to-r42 version 2 type multicastrip set interface to-r6 version 2 type multicast