Riverstone Networks WICT1-12 User Manual

Page 455

Advertising
background image

Riverstone Networks RS Switch Router User Guide Release 8.0 18-25

Routing Policy Configuration

Configuring Advanced Routing Policies

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.

4.

Create a Direct export source since we would like to export direct/interface routes.

! 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

ip-router policy create direct-export-source directExpSrc

Advertising