beautypg.com

Configuring ospf virtual link, Network requirements, Network diagram – H3C Technologies H3C S3600 Series Switches User Manual

Page 354

background image

4-27

system-view

[SwitchB] interface Vlan-interface 1

[SwitchB-Vlan-interface1] ospf dr-priority 200

On Switch A, use the display ospf peer command to display its OSPF neighbors. Note that the priority

of Switch B has been changed to 200, but it is still not a DR.

The current DR is changed only when it is offline. Shut down Switch A, and use the display ospf peer

command on Switch D to display its neighbors. Note that the original BDR (Switch C) becomes the DR

and Switch B becomes BDR now.

If all Ethernet Switches on the network are removed from and then added to the network again, Switch

B will be elected as the DR (with a priority of 200), and Switch A will be the BDR (with a priority of 100).

Shutting down and restarting all the switches will bring about a new round of DR/BDR election on the

network.

Configuring OSPF Virtual Link

Network requirements

Devices in the network run OSPF to realize interconnection. The network is split into three areas: one

backbone area and two non-backbone areas (Area 1 and Area 2). Area 2 has no direct connection to

the backbone, and it has to reach the backbone through Area 1. The customer hopes that Area 2 can

interconnect with other two areas.

Based on the customer requirements and networking environment, use a virtual link to connect Area 2

to the backbone area.

Network diagram

Figure 4-9 Network diagram for OSPF virtual link configuration

Device

Interface

IP interface

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

This manual is related to the following products: