H3C Technologies H3C SR8800 User Manual

Page 333

Advertising
background image

317

[RouterD] ipv6

[RouterD] ospfv3

[RouterD-ospfv3-1] router-id 4.4.4.4

[RouterD-ospfv3-1] quit

[RouterD] interface GigabitEthernet 1/1/1

[RouterD-GigabitEthernet1/1/1] ospfv3 1 area 0

[RouterD-GigabitEthernet1/1/1] quit

# Display neighbor information on Router A. You can find routers have the same default DR priority

1. Then, Router D (the router with the highest Router ID) is elected as the DR, and Router C is the

BDR.

[RouterA] display ospfv3 peer

OSPFv3 Area ID 0.0.0.0 (Process 1)

----------------------------------------------------------------------

Neighbor ID Pri State Dead Time Interface Instance ID

2.2.2.2 1 2-Way/DROther 00:00:36 GE1/1/1 0

3.3.3.3 1 Full/Backup 00:00:35 GE1/1/1 0

4.4.4.4 1 Full/DR 00:00:33 GE1/1/1 0

# Display neighbor information on Router D. You can find the neighbor states of Router D are all
full.

[RouterD] display ospfv3 peer

OSPFv3 Area ID 0.0.0.0 (Process 1)

----------------------------------------------------------------------

Neighbor ID Pri State Dead Time Interface Instance ID

1.1.1.1 1 Full/DROther 00:00:30 GE1/1/1 0

2.2.2.2 1 Full/DROther 00:00:37 GE1/1/1 0

3.3.3.3 1 Full/Backup 00:00:31 GE1/1/1 0

3.

Configure DR priorities for interfaces:
# Configure the DR priority of GigabitEthernet 1/1/1 of Router A as 100.

[RouterA] interface GigabitEthernet 1/1/1

[RouterA-GigabitEthernet1/1/1] ospfv3 dr-priority 100

[RouterA-GigabitEthernet1/1/1] quit

# Configure the DR priority of GigabitEthernet 1/1/1 as 0 on Router B.

[RouterB] interface GigabitEthernet 1/1/1

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

[RouterB-GigabitEthernet1/1/1] quit

# Configure the DR priority of GigabitEthernet 1/1/1 as 2 on Router C.

[RouterC] interface GigabitEthernet 1/1/1

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

[RouterC-GigabitEthernet1/1/1] quit

# Display neighbor information on Router A. You can find DR priorities have been updated, but the
DR and BDR are not changed.

[RouterA] display ospfv3 peer

OSPFv3 Area ID 0.0.0.0 (Process 1)

----------------------------------------------------------------------

Neighbor ID Pri State Dead Time Interface Instance ID

2.2.2.2 0 2-Way/DROther 00:00:38 GE1/1/1 0

3.3.3.3 2 Full/Backup 00:00:32 GE1/1/1 0

Advertising