Cabletron Systems 9032578-02 manual Example 2 Importing from Ospf

Models: 9032578-02

1 207
Download 207 pages 44.86 Kb
Page 129
Image 129

Chapter 7: Routing Policy Configuration Guide

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.4 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.4

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

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

Example 2: Importing from OSPF

Due to the nature of OSPF, only the importation of ASE routes may be controlled. OSPF intra-and inter-area routes are always imported into the SSR routing table with a preference of 10. If a tag is specified, the import clause will only apply to routes with the specified tag.

SmartSwitch Router User Reference Manual

129

Page 129
Image 129
Cabletron Systems 9032578-02 manual Example 2 Importing from Ospf