Example 2: redistribution into ospf, Interfaces – Cabletron Systems SmartSwitch Router 9032578-02 User Manual

Page 119

Advertising
background image

SmartSwitch Router User Reference Manual

119

Chapter 7: Routing Policy Configuration Guide

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.

Exporting All Static Routes to All RIP Interfaces

Router R1 has several static routes. We would export these routes over all RIP interfaces.

Exporting All Static Routes Except the Default Route to All RIP Interfaces

Router R1 has several static routes. We would export all these routes except the default
route to all RIP interfaces.

Example 2: Redistribution into OSPF

For all examples given in this section, refer to the configurations shown in Figure 12 on
page 131.

The following configuration commands for router R1:

Determine the IP address for each interface

!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! 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 redistribute from-proto static to-proto rip network
default

ip-router policy redistribute from-proto static to-proto rip network all

ip-router policy redistribute from-proto static to-proto rip network all
ip-router policy redistribute from-proto static to-proto rip network
default restrict

Advertising