Ospf Virtual Link Configuration Example - HP HPE FlexNetwork 7500 series Configuration Manual

Table of Contents

Advertisement

Area: 0.0.0.0
IP Address
192.168.1.2
The interface state DROther means the interface is not the DR or BDR.

OSPF virtual link configuration example

Network requirements
As shown in
the backbone area. After configuration, Switch B can learn routes to Area 2.
Figure 30 Network diagram
Switch D
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Enable OSPF:
# 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
[SwitchA-ospf-1] 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
[SwitchB-ospf-1] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] ospf 1 router-id 3.3.3.3
OSPF Process 1 with Router ID 2.2.2.2
Interfaces
Type
Broadcast DROther
Figure
30, configure a virtual link between Switch B and Switch C to connect Area 2 to
Vlan-int100
10.3.1.1/24
Vlan-int100
10.3.1.2/24
Switch C
Area 2
State
Cost
Pri
1
0
Switch B
Area 1
Vlan-int200
10.2.1.1/24
Vlan-int200
10.2.1.2/24
121
DR
BDR
192.168.1.1
192.168.1.3
Area 0
Vlan-int300
10.1.1.2/24
Vlan-int300
10.1.1.1/24
Switch A

Advertisement

Table of Contents
loading

Table of Contents