Nortel Networks NN47200-503 manual Apply route policy to RIP Out Policy

Models: NN47200-503

1 318
Download 318 pages 644 b
Page 152
Image 152

152IP Routing Configuration and Management

Configure R1 as an ASBR, assign the OSPF Router-ID 1.1.1.5, create OSPF NSSA area 2, add the OSPF interface 10.1.1.18 to area 2, and enable OSPF on the interface. Enable ASBR and OSPF globally.

5530-24TFD(config)# router ospf

5530-24TFD(config-router)# router-id 1.1.1.5

5530-24TFD(config-router)# as-boundary-router enable 5530-24TFD(config-router)# area 0.0.0.2 import nssa 5530-24TFD(config-router)# network 10.1.1.18 area 0.0.0.2

5530-24TFD(config)# router ospf enable

5Create a route policy named Rip_Dist that distributes directly connected and OSPF routes into RIP.

5530-24TFD(config)# route-map Rip_Dist permit 1 enable match protocol direct,ospf set metric-type type1

6Apply route policy to RIP Out Policy.

5530-24TFD(config)# interface vlan 200

5530-24TFD(config-if)# ip rip out-policy Rip_Dist

7Add two prefix lists (15net and 14net) that are associated with the network addresses from the RIP version 2 network.

5530-24TFD(config)# ip prefix-list 15net 15.15.15.0/24

5530-24TFD(config)# ip prefix-list 14net 14.14.14.0/24

8Create a route policy named P_bit that sets the NSSA N/P-bit only for the prefix list named 15net.

5530-24TFD(config)# route-map P_bit permit 1 enable match network 15net set nssa-pbit enable

5530-24TFD(config)# route-map P_bit permit 2 enable match network 14net

5530-24TFD(config)# no route-map P_bit 2 set nssa-pbit enable

9Configure OSPF route distribution to distribute RIP routes as AS-external LSA Type 1.

5530-24TFD(config)# router ospf

5530-24TFD(config-router)# redistribute rip enable metric-type type1 route-policy P_bit

5530-24TFD(config)# ip ospf apply redistribute rip

—End—

Nortel Ethernet Routing Switch 5500 Series

Configuration-IP Routing Protocols

NN47200-503 03.01 Standard

5.127 August 2007

Copyright © 2005-2007, Nortel Networks

Page 152
Image 152
Nortel Networks NN47200-503 manual Apply route policy to RIP Out Policy