Chapter 13: Routing Policy Configuration Guide

Importing a Selected Subset of Routes from One RIP Trusted Gateway

Router R1 has several RIP peers. Router R41 has an interface on the network 10.51.0.0. By default, router R41 advertises network 10.51.0.0/16 in its RIP updates. Router R1 would like to import all routes except the 10.51.0.0/16 route from its peer R41.

1.Add the peer 140.1.1.41 to the list of trusted and source gateways.

rip add source-gateways 140.1.1.41 rip add trusted-gateways 140.1.1.41

2.Create a RIP import source with the gateway as 140.1.1.41 since we would like to import all routes except the 10.51.0.0/16 route from this gateway.

ip-router policy create rip-import-source ripImpSrc144 gateway 140.1.1.41

3.Create the Import-Policy, importing all routes except the 10.51.0.0/16 route from gateway 140.1.1.41.

ip-router policy import source ripImpSrc144 network all ip-router policy import source ripImpSrc144 network 10.51.0.0/16 restrict

Importing a Selected Subset of Routes from All RIP Peers Accessible Over a Certain Interface

Router R1 has several RIP peers. Router R41 has an interface on the network 10.51.0.0. By default, router R41 advertises network 10.51.0.0/16 in its RIP updates. Router R1 would like to import all routes except the 10.51.0.0/16 route from all its peer which are accessible over interface 140.1.1.1.

1.Create a RIP import source with the interface as 140.1.1.1, since we would like to import all routes except the 10.51.0.0/16 route from this interface.

ip-router policy create rip-import-source ripImpSrc140 interface 140.1.1.1

2.Create the Import-Policy importing all routes except the 10.51.0.0/16 route from interface 140.1.1.1

ip-router policy import source ripImpSrc140 network all ip-router policy import source ripImpSrc140 network 10.51.0.0/16 restrict

SmartSwitch Router User Reference Manual

183

Page 209
Image 209
Cabletron Systems 9032578-05 manual Rip add source-gateways 140.1.1.41 rip add trusted-gateways