D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 4 OSPF
Configuration
4-53
The following information only shows the steps to configure OSPF (Totally) Stub
area. For other configurations, please refer to the examples shown in "Multi-area
OSPF Configuration" and "OSPF Static Route Redistribution".
Step 1: Display the routing table of Switch C when its native area is a normal
area.
SwitchC#show ip route ospf
O E2 172.10.10.0/24 [110/20] via 192.168.2.1, 4d,02:28:07, GigabitEthernet
0/3 //AS external route
O IA 192.168.1.0/24 [110/2] via 192.168.2.1, 4d,17:52:14, GigabitEthernet 0/3
O IA 192.168.3.0/24 [110/3] via 192.168.2.1, 4d,17:52:14, GigabitEthernet 0/3
O IA 192.168.6.0/24 [110/4] via 192.168.2.1, 4d,02:38:27, GigabitEthernet 0/3
From the above information, we can see that the routing table contains AS
external route when the native area of Switch C is a normal area.
Step 2: Configure Stub area
Configurations on Switch A
SwitchA(config)#router ospf 1
SwitchA(config-router)#area 1 stub
Configurations on Switch C
SwitchC(config)#router ospf 1
SwitchC(config-router)#area 1 stub
Display the routing table of Switch C when its native area is a stub area.
SwitchC#show ip route ospf
O*IA 0.0.0.0/0 [110/2] via 192.168.2.1, 00:00:32, GigabitEthernet 0/3
//default route
O IA 192.168.1.0/24 [110/2] via 192.168.2.1, 00:00:32, GigabitEthernet 0/3
O IA 192.168.3.0/24 [110/3] via 192.168.2.1, 00:00:32, GigabitEthernet 0/3
O IA 192.168.6.0/24 [110/4] via 192.168.2.1, 00:00:32, GigabitEthernet 0/3
From the above information, we can see that the AS external route is gone when
the native area of Switch C is a stub area. The AS external route in the original
routing table has been replaced by a default route.
Step 3: Configure Totally Stub area
Configurations on Switch A
SwitchA(config)#router ospf 1
SwitchA(config-router)#area 1 stub stub no-summary
Configurations on Switch C
SwitchC(config)#router ospf 1