HP VPN Firewall Appliances Network Management Configuration Guide

786
# Configure Router A.
<RouterA> system-view
[RouterA] ipv6
[RouterA] ospfv3
[RouterA-ospfv3-1] router-id 4.4.4.4
[RouterA-ospfv3-1] quit
[RouterA] interface gigabitethernet 0/1
[RouterA-GigabitEthernet0/1] ospfv3 1 area 0
[RouterA-GigabitEthernet0/1] quit
# Display neighbor information on Firewall.
[Firewall] 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 GE0/1 0
3.3.3.3 1 Full/Backup 00:00:35 GE0/1 0
4.4.4.4 1 Full/DR 00:00:33 GE0/1 0
The output shows that routers have the same default DR priority 1, so Router A (the router with the
highest Router ID) is elected as the DR, and Router C is the BDR.
# Display neighbor information on Router A.
[RouterA] 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 GE0/1 0
2.2.2.2 1 Full/DROther 00:00:37 GE0/1 0
3.3.3.3 1 Full/Backup 00:00:31 GE0/1 0
The neighbor states of Router A are all full.
3. Configure DR priorities for interfaces:
# Configure the DR priority of GigabitEthernet 0/1 as 100 on Firewall.
[Firewall] interface gigabitethernet 0/1
[Firewall-GigabitEthernet0/1] ospfv3 dr-priority 100
[Firewall-GigabitEthernet0/1] quit
# Configure the DR priority of GigabitEthernet 0/1 as 0 on Router B.
[RouterB] interface gigabitethernet 0/1
[RouterB-GigabitEthernet0/1] ospfv3 dr-priority 0
[RouterB-GigabitEthernet0/1] quit
# Configure the DR priority of GigabitEthernet 0/1 as 2 on Router C.
[RouterC] interface gigabitethernet 0/1
[RouterC-GigabitEthernet0/1] ospfv3 dr-priority 2
[RouterC-GigabitEthernet0/1] quit
# Display neighbor information on Firewall.
[Firewall] display ospfv3 peer
OSPFv3 Area ID 0.0.0.0 (Process 1)
----------------------------------------------------------------------
Neighbor ID Pri State Dead Time Interface Instance ID