D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 4 OSPF
Configuration
4-63
Step 2: Configure OSPF virtual link
Configure Switch B
SwitchB(config)#router ospf 1
SwitchB(config-router)#area 1 virtual-link 3.3.3.3
Configure Switch C
SwitchC(config)#router ospf 1
SwitchC(config-router)#area 1 virtual-link 2.2.2.2
Verify configurations
Display OSPF routing table of Switch B
SwitchB#show ip route
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default
Gateway of last resort is no set
C 2.2.2.0/24 is directly connected, Loopback 0
C 2.2.2.2/32 is local host.
C 192.168.1.0/24 is directly connected, VLAN 10
C 192.168.1.2/32 is local host.
C 192.168.2.0/24 is directly connected, VLAN 20
C 192.168.2.1/32 is local host.
O IA 192.168.3.0/24 [110/2] via 192.168.2.2, 00:02:49, VLAN 20
From the above information, we can see that after configuring the virtual link,
Switch B has successfully learned the route from segment 192.168.3.0/24 (area
2).
Display OSPF routing table of Switch D
SwitchD#show ip route
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default
Gateway of last resort is no set