R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

335
[RouterC] ipv6
[RouterC] ospfv3
[RouterC-ospfv3-1] router-id 3.3.3.3
[RouterC-ospfv3-1] quit
[RouterC] interface GigabitEthernet 2/1/1
[RouterC-GigabitEthernet2/1/1] ospfv3 1 area 0
[RouterC-GigabitEthernet2/1/1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] ipv6
[RouterD] ospfv3
[RouterD-ospfv3-1] router-id 4.4.4.4
[RouterD-ospfv3-1] quit
[RouterD] interface GigabitEthernet 2/1/1
[RouterD-GigabitEthernet2/1/1] ospfv3 1 area 0
[RouterD-GigabitEthernet2/1/1] quit
# Display neighbor information on Router A. The routers have the same default DR priority 1, so
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 GE2/1/1 0
3.3.3.3 1 Full/Backup 00:00:35 GE2/1/1 0
4.4.4.4 1 Full/DR 00:00:33 GE2/1/1 0
# Display neighbor information on Router D. 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 GE2/1/1 0
2.2.2.2 1 Full/DROther 00:00:37 GE2/1/1 0
3.3.3.3 1 Full/Backup 00:00:31 GE2/1/1 0
3. Configure DR priorities for interfaces:
# Configure the DR priority of GigabitEthernet 2/1/1 of Router A as 100.
[RouterA] interface GigabitEthernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ospfv3 dr-priority 100
[RouterA-GigabitEthernet2/1/1] quit
# Configure the DR priority of GigabitEthernet 2/1/1 as 0 on Router B.
[RouterB] interface GigabitEthernet 2/1/1
[RouterB-GigabitEthernet2/1/1] ospfv3 dr-priority 0
[RouterB-GigabitEthernet2/1/1] quit
# Configure the DR priority of GigabitEthernet 2/1/1 as 2 on Router C.
[RouterC] interface GigabitEthernet 2/1/1
[RouterC-GigabitEthernet2/1/1] ospfv3 dr-priority 2
[RouterC-GigabitEthernet2/1/1] quit