beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 136

background image

120

[RouterB-GigabitEthernet1/1/1] ospf dr-priority 0

[RouterB-GigabitEthernet1/1/1] quit

# Configure Router C.

[RouterC] interface GigabitEthernet 1/1/1

[RouterC-GigabitEthernet1/1/1] ospf dr-priority 2

[RouterC-GigabitEthernet1/1/1] quit

# Display information about neighbors on Router D.

display ospf peer verbose

OSPF Process 1 with Router ID 4.4.4.4

Neighbors

Area 0.0.0.0 interface 192.168.1.4(GigabitEthernet1/1/1)'s neighbors

Router ID: 1.1.1.1 Address: 192.168.1.1 GR State: Normal

State: Full Mode:Nbr is Slave Priority: 100

DR: 192.168.1.4 BDR: 192.168.1.3 MTU: 0

Dead timer due in 31 sec

Neighbor is up for 00:11:17

Authentication Sequence: [ 0 ]

Router ID: 2.2.2.2 Address: 192.168.1.2 GR State: Normal

State: Full Mode:Nbr is Slave Priority: 0

DR: 192.168.1.4 BDR: 192.168.1.3 MTU: 0

Dead timer due in 35 sec

Neighbor is up for 00:11:19

Authentication Sequence: [ 0 ]

Router ID: 3.3.3.3 Address: 192.168.1.3 GR State: Normal

State: Full Mode:Nbr is Slave Priority: 2

DR: 192.168.1.4 BDR: 192.168.1.3 MTU: 0

Dead timer due in 33 sec

Neighbor is up for 00:11:15

Authentication Sequence: [ 0 ]

The DR and BDR have no change.

NOTE:

The output shows that the priority configuration does not take effect immediately.

4.

Restart the OSPF process:
# Restart the OSPF process on Router D.

reset ospf 1 process

Warning : Reset OSPF process? [Y/N]:y

# Display neighbor information on Router D.

display ospf peer verbose

OSPF Process 1 with Router ID 4.4.4.4

Neighbors