3 configuring advanced routing policies, Configuring advanced routing policies -13 – Riverstone Networks WICT1-12 User Manual

Page 443

Advertising
background image

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

Routing Policy Configuration

Configuring Advanced Routing Policies

Note

The network parameter specifying the network-filter is optional. The default value
for this parameter is

all

, indicating all networks. Since in the above example, we

would like to export all static and direct routes into OSPF, we have not specified
this parameter.

Exporting All RIP, Interface & Static Routes to OSPF

Note

Also export interface, static, RIP, OSPF, and OSPF-ASE routes into RIP.

In the configuration shown in

Figure 18-2

, suppose we decide to run RIP Version 2 on network 120.190.0.0/16,

connecting routers R1 and R2.

Router R1 would like to export all RIP, interface, and static routes to OSPF.

Router R1 would also like to export interface, static, RIP, OSPF, and OSPF-ASE routes into RIP.

18.3 CONFIGURING ADVANCED ROUTING POLICIES

Advanced Routing Policies are used for creating complex import/export policies that cannot be done using the
redistribute command. Advanced export policies provide granular control over the targets where the routes are
exported, the source of the exported routes, and the individual routes which are exported. It provides the capability to
send different routes to the various route-peers. They can be used to provide the same route with different attributes to
the various route-peers.

ip-router policy redistribute from-proto rip to-proto ospf

ip-router policy redistribute from-proto direct to-proto ospf

ip-router policy redistribute from-proto static to-proto ospf

ip-router policy redistribute from-proto direct to-proto rip

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

ip-router policy redistribute from-proto rip to-proto rip

ip-router policy redistribute from-proto ospf to-proto rip

ip-router policy redistribute from-proto ospf-ase to-proto rip

Advertising