beautypg.com

Configuring ospf dr election at the cli, Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 453

background image

428

Routing Tables

Routing for Network

Destination Cost Type NextHop AdvRouter Area

10.2.1.0/24 22 Inter 10.3.1.1 10.3.1.1 0.0.0.2

10.3.1.0/24 10 Transit 10.3.1.2 10.3.1.1 0.0.0.2

10.4.1.0/24 25 Inter 10.3.1.1 10.3.1.1 0.0.0.2

10.5.1.0/24 10 Stub 10.5.1.1 10.5.1.1 0.0.0.2

10.1.1.0/24 12 Inter 10.3.1.1 10.3.1.1 0.0.0.2

Routing for ASEs

Destination Cost Type Tag NextHop AdvRouter

3.1.2.0/24 1 Type2 1 10.3.1.1 10.2.1.1

Total Nets: 6

Intra Area: 2 Inter Area: 3 ASE: 1 NSSA: 0

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

Configuring OSPF DR election at the CLI

Network requirements

In

Figure 272

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

Configure SecPath A as the DR, and configure SecPath B as the BDR.

Figure 272 Network diagram

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown)

2.

Configure OSPF basic functions:
# Configure SecPath A.

system-view

[SecPathA] router id 1.1.1.1

[SecPathA] ospf

[SecPathA-ospf-1] area 0

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

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

SecPath A

Router A

SecPath B

Router B

GE0/1
192.168.1.1/24

Eth1/1
192.168.1.2/24

GE0/1
192.168.1.3/24

Eth1/1
192.168.1.4/24