User Manual

Enterasys X-Pedition User Reference Manual 265
Configuring Advanced Routing Policies
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
Note: When you use the ip-router policy create rip-export-destination command in
conjunction with the gateway option in ip-router policy export, you must use rip add
source-gateways for each address indicated in the gateway option.
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.
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