beautypg.com

Configuring ospf dr election, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 134

background image

118

NOTE:

The output shows that on Router D an external route imported from the NSSA area.

Configuring OSPF DR election

Network requirements

In

Figure 43

:

Router A, B, C and D are on the same network, running OSPF.

Configure Router A as the DR, and configure Router C as the BDR.

Figure 43 Network diagram

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown)

2.

Configure OSPF basic functions:
# Configure Router A.

system-view

[RouterA] router id 1.1.1.1

[RouterA] ospf

[RouterA-ospf-1] area 0

[RouterA-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255

[RouterA-ospf-1-area-0.0.0.0] quit

[RouterA-ospf-1] quit

# Configure Router B.

system-view

[RouterB] router id 2.2.2.2

[RouterB] ospf

[RouterB-ospf-1] area 0

[RouterB-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255

[RouterB-ospf-1-area-0.0.0.0] quit

[RouterB-ospf-1] quit

# Configure Router C.

system-view

[RouterC] router id 3.3.3.3

[RouterC] ospf