Cabletron Systems 9032578-02 Router User Manual


 
Chapter 7: Routing Policy Configuration Guide
136 SmartSwitch Router User Reference Manual
Exporting All Static Routes Reachable Over a Given Interface to a Specific RIP-
Interface
In this case, router R1 would export/redistribute all static routes accessible through its
interface 130.1.1.1 to its RIP-interface 140.1.1.1 only.
1. Create a RIP export destination for interface with address 140.1.1.1, since we intend to
change the rip export policy for interface 140.1.1.1
2. Create a Static export source since we would like to export static routes.
3. Create a RIP export source since we would like to export RIP routes.
4. Create a Direct export source.
5. Create the Export-Policy, redistributing all static routes reachable over interface
130.1.1.1 and all (RIP, Direct) routes into RIP.
Exporting Aggregate-Routes into RIP
In the configuration shown in Figure 11 on page 127, suppose you decide to run RIP
Version 1 on network 130.1.0.0/16, connecting routers R1 and R3. Router R1 desires to
announce the 140.1.1.0/24 and 140.1.2.0/24 networks to router R3. RIP Version 1 does not
carry any information about subnet masks in its packets. Thus it would not be possible to
announce the subnets (140.1.1.0/24 and 140.1.2.0/24) into RIP Version 1 without
aggregating them.
ip-router policy create rip-export-destination ripExpDst141
interface 140.1.1.1
ip-router policy create static-export-source statExpSrc130 interface
130.1.1.1
ip-router policy create rip-export-source ripExpSrc
ip-router policy create direct-export-source directExpSrc
ip-router policy export destination ripExpDst141 source
statExpSrc130 network all
ip-router policy export destination ripExpDst141 source ripExpSrc
network all
ip-router policy export destination ripExpDst141 source directExpSrc
network all