Configuring Ospf Virtual Links - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

192.168.1.2
The interface state DROther means the interface is not the DR/BDR.

Configuring OSPF Virtual Links

Network requirements
In the following figure, Area 2 has no direct connection to Area 0, and Area 1 acts as the Transit
Area to connect Area 2 to Area 0 via a configured virtual link between Switch B and Switch C.
After configuration, Switch B can learn routes to Area 2.
Figure 1-27 Network diagram for OSPF virtual link configuration
Vlan-int100
10.3.1.1/24
Switch D
Configuration procedure
1)
Configure IP addresses for interfaces (omitted)
2)
Configure OSPF basic functions
# Configure Switch A.
<SwitchA> system-view
[SwitchA] ospf 1 router-id 1.1.1.1
[SwitchA-ospf-1] area 0
[SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchA-ospf-1-area-0.0.0.0] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] ospf 1 router-id 2.2.2.2
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] area 1
[SwitchB–ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255
[SwitchB–ospf-1-area-0.0.0.1] quit
# Configure Switch C.
Broadcast DROther
Area 1
Vlan-int200
10.2.1.2/24
Vlan-int100
10.3.1.2/24
Switch C
Area 2
1
0
192.168.1.1
Swtich B
Vlan-int300
10.1.1.2/24
Vlan-int200
10.2.1.1/24
1-63
192.168.1.3
Area 0
Swtich A
Vlan-int300
10.1.1.1/24

Advertisement

Chapters

Table of Contents
loading

Table of Contents