Configuring Ospf Virtual Links - HP 6125XLG Configuration Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

192.168.1.1
[SwitchB] display ospf interface
Area: 0.0.0.0
IP Address
192.168.1.2
The interface state DROther means the interface is not the DR or BDR.

Configuring OSPF virtual links

Network requirements
Configure a virtual link between Switch B and Switch C to connect Area 2 to the backbone area. After
configuration, Switch B can learn routes to Area 2.
Figure 26 Network diagram
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
# 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
Broadcast DR
OSPF Process 1 with Router ID 2.2.2.2
Interfaces
Type
State
Broadcast DROther
1
100
192.168.1.1
Cost
Pri
DR
1
0
192.168.1.1
97
192.168.1.3
BDR
192.168.1.3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents