Switch User Manual
IP routing configuration examples 149
5530-24TFD(config-router)# as-boundary-router enable
5530-24TFD(config-router)# router-id 1.1.1.3
5530-24TFD(config)# router ospf enable
5
Configure OSPF route distribution.
Configure OSPF route distr ibution to import RIP into OSPF. The
Nortel Ethernet Routing Switch 5500 Series distributes the RIP
routes as AS-external LSA (LSA type 5), using external metric type 1.
5530-24TFD(config)# router ospf
5530-24TFD(config-router)# redistribute rip enable
metric 10 metric-type type1
5530-24TFD(config)# ip ospf apply redistribute rip
6
Configure a route policy.
A route policy is required for OSPF to RIP route redistribution. After
the route policy is created, apply it to the RIP interface. The following
command creates a route policy named allow which distributes both
direct and OSPF interfaces.
5530-24TFD(config)# route-map allow permit 1 enable
match protocol direct,ospf
7
Apply the route policy to the RIP Out Policy.
The following commands apply the route policy created in step 6 to
RIP interface 10.1.1.41.
5530-24TFD(config)# interface vlan 100
5530-24TFD(config-if)# ip rip out-policy allow
—End—
The configuration steps described in the above example distributes all OSPF
routes to RIP. However, there are times when it can be more advantageous
to distribute only a default route to RIP. The following configuration steps
describe how to distribute only a default route to RIP instead of all OSPF
routes to RIP.
To configure R1 to distribute a default route only to RIP, complete the
following steps:
Step Action
1
Configure an IP prefix list with a default route.
The following command creates an IP prefix list named default with
an IP address of 0.0.0.0.
5530-24TFD(config)# ip prefix-list default 0.0.0.0/0
Nortel Ethernet Routing Switch 5500 Series
Configuration-IP Routing Protocols
NN47200-503 03.01 Standard
5.1 27 August 2007
Copyright © 2005-2007, Nortel Networks
.