Cabletron Systems 9032578-02 Router User Manual


 
Chapter 7: Routing Policy Configuration Guide
134 SmartSwitch Router User Reference Manual
Exporting a Given Static Route to All RIP Interfaces
Router R1 has several static routes, of which one is the default route. We would export this
default route over all RIP interfaces.
1. Create a RIP export destination since we would like to export routes into RIP.
2. Create a Static export source since we would like to export static routes.
As mentioned above, if no export policy is specified, RIP and interface routes are
exported into RIP. If any policy is specified, the defaults are overridden; it is necessary
to explicitly specify everything that should be exported.
Since we would also like to export/redistribute RIP and direct routes into RIP, we
would also create export-sources for those protocols.
3. Create a RIP export source since we would like to export RIP routes.
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ip add route 135.3.1.0/24 gateway 130.1.1.3
ip add route 135.3.2.0/24 gateway 130.1.1.3
ip 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.2
ip add route 160.1.5.0/24 gateway 120.190.1.2
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! RIP Box Level Configuration
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
rip start
rip set default-metric 2
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! RIP Interface Configuration. Create a RIP interfaces, and set
! their type to (version II, multicast).
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
rip add interface to-r41
rip add interface to-r42
rip add interface to-r6
rip set interface to-r41 version 2 type multicast
rip set interface to-r42 version 2 type multicast
rip set interface to-r6 version 2 type multicast
ip-router policy create rip-export-destination ripExpDst
ip-router policy create static-export-source statExpSrc
ip-router policy create rip-export-source ripExpSrc