3Com Switch 7750 Configuration Guide
324 CHAPTER 34: OSPF CONFIGURATION
Network diagram
Figure 74 OSPF virtual link configuration
Configuration procedure
# Configure SwitchA.
<SwitchA> system-view
[SwitchA] interface Vlan-interface 1
[SwitchA-Vlan-interface1] ip address 196.1.1.1 255.255.255.0
[SwitchA-Vlan-interface1] quit
[SwitchA] router id 1.1.1.1
[SwitchA] ospf
[SwitchA-ospf-1] area 0
[SwitchA-ospf-1-area-0.0.0.0] network 196.1.1.0 0.0.0.255
# Configure SwitchB.
<SwitchB> system-view
[SwitchB] interface vlan-interface 1
[SwitchB-Vlan-interface1] ip address 196.1.1.2 255.255.255.0
[SwitchB-Vlan-interface1] quit
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] ip address 197.1.1.2 255.255.255.0
[SwitchB] router id 2.2.2.2
[SwitchB] ospf
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 196.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] area 1
Device Interface IP address Router ID
Switch A Vlan-int1 196.1.1.1/24 1.1.1.1
Switch B Vlan-int1 196.1.1.2/24 2.2.2.2
Vlan-int2 197.1.1.2/24
Switch C Vlan-int1 152.1.1.1/24 3.3.3.3
Vlan-int2 197.1.1.1/24
Area 0
Switch A
Switch C
Switch B
Vlan-int1
Area 1 Virtual link
Area 2
Vlan -int 2
Vlan-int2
Vlan-int1
Vlan-int1