Switch User Manual

142 IP Routing Configuration and Management
Configure R1 in stub area 2 with the Router-ID 1.1.1.5. Add the
OSPF interfaces to area 2 and enable OSPF on these interfaces.
5530-24TFD(config-router)# router-id 1.1.1.5
5530-24TFD(config-router)# area 0.0.0.2 import
noexternal
5530-24TFD(config-router)# network 10.1.1.18 area
0.0.0.2
5530-24TFD(config-router)# network 172.3.3.1 area
0.0.0.2
5530-24TFD(config)# router ospf enable
2
Configure router R2.
a. Configure the OSPF interface on R2.
Configure port 2/6 as a brouter port in VLAN 100.
5530-24TFD(config)# interface fast 2/6
5530-24TFD(config-if)# brouter port 2/6 vlan 100
subnet 10.1.1.17/30
b. Configure the second OSPF interface on R2.
Configure port 2/1 as a brouter port in VLAN 300. Enable OSPF
on this interface.
5530-24TFD(config)# interface fast 2/1
5530-24TFD(config-if)# brouter port 2/1 vlan 300
subnet 10.1.1.22/30
5530-24TFD(config-if)# ip ospf enable
c. Enable OSPF on R2.
Configure R2 in stub area 2 with an area default cost of 10.
Disable import summary to prevent R2 from sending summary
LSAs of area 0 into area 2. R2 will originate only summary LSA
for default route into area 2. Note that, by default, OSPF interface
10.1.1.22 is placed into OSPF area 0.0.0.0. Because one
additional area of 0.0.0.2 is added and OSPF interface 10.1.1.17
is added to area 0.0.0.2, R2 automatically becomes a stub ABR.
5530-24TFD(config-router)# router-id 1.1.1.2
5530-24TFD(config-router)# area 0.0.0.2 import
noexternal
5530-24TFD(config-router)# no area 0.0.0.2
import-summary enable
5530-24TFD(config-router)# area 0.0.0.2 default-cost
10
5530-24TFD(config-router)# network 10.1.1.17 area
0.0.0.2
5530-24TFD(config)# router ospf enable
—End—
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
.