Chapter 11: Routing Policy Configuration Guide
192 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 reachabl e over interface
130.1.1.1 and all (RIP, Direct) routes into RIP.
Exporting Aggregate-Routes into RIP
In the configuration shown in Figure 17 on page 183, 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 s tatic-export-source statExpSrc130 inter face
130.1.1.1
ip-router policy create rip-export-source ripEx pSrc
ip-router policy create direct-export-source di rectExpSrc
ip-router policy export destination ripExpDst14 1 source
statExpSrc130 network al l
ip-router policy export destination ripExpDst14 1 source ripExpSrc
network all
ip-router policy export des tination ripExpDst141 source directExpSrc
network all