The philosophy is as follows:
The configuration process:
1. The function of global ipv6 enabled
2. The interface function of ipv6 enabled
3. The interface configuration ipv6 address
4. Enable ospfv3 process
5. Interface enables ospfv3
6. Verify ospfv3 neighbor table
7. R1 and r3 ping each other
3. The experiment process is as follows:
The router r1 configuration:
[Huawei] ipv6//global ipv6 enabled functions
[Huawei] sys r1
(r1) int g0/0/0
R1 - GigabitEthernet0/0/0 ipv6 enable//interface to enable ipv6 function
R1 - GigabitEthernet0/0/0 ipv6 add 2001:0012: : 1, 64//interface configuration ipv6 address
R1 - GigabitEthernet0/0/0 q
(r1) ospfv3 1//enable ospfv3 process
The router - [r1 - ospfv3-1] id 1.1.1.1
(r1) int g0/0/0
R1 - GigabitEthernet0/0/0 ospfv3 1 area 0//interface to enable ospfv3
The router r2 configuration:
[Huawei] ipv6//global ipv6 enabled functions
[Huawei] sys r1
(r2) int g0/0/0
R2 - GigabitEthernet0/0/0 ipv6 enable//interface to enable ipv6 function
R2 - GigabitEthernet0/0/0 ipv6 add 2001:0012: : 2, 64//interface configuration ipv6 address
R2 - GigabitEthernet0/0/0 q
(r2) ospfv3 1//enable ospfv3 process
[r2 - ospfv3-1] router - id 2.2.2.2
(r2) int g0/0/0
R2 - GigabitEthernet0/0/0 ospfv3 1 area 0//interface to enable ospfv3
[Huawei] ipv6//global ipv6 enabled functions
[Huawei] sys r2
(r2) int g0/0/0
R2 - GigabitEthernet0/0/1 ipv6 enable//interface to enable ipv6 function
R2 - GigabitEthernet0/0/1 ipv6 add 2001:0023: : 1, 64//interface configuration ipv6 address
R2 - GigabitEthernet0/0/1 q
(r2) ospfv3 1//enable ospfv3 process
[r2 - ospfv3-1] router - id 1.1.1.1
(r2) int g0/0/1
R2 - GigabitEthernet0/0/0 ospfv3 area 1//interface to enable ospfv3
R3 to router configuration:
[Huawei] ipv6//global ipv6 enabled functions
[Huawei] sys r3
(r3) int g0/0/0
R3 - GigabitEthernet0/0/0 ipv6 enable//interface to enable ipv6 function
R3 - GigabitEthernet0/0/0 ipv6 add 2001:0023: : 2, 64//interface configuration ipv6 address
R3 - GigabitEthernet0/0/0 q
(r3) ospfv3 1//enable ospfv3 process
[r3 ospfv3-1] router - id 3.3.3.3
(r3) int g0/0/0
R3 - GigabitEthernet0/0/0 ospfv3 area 1//interface to enable ospfv3
Test results are as follows:
Request time out
Reply from 2001:23:2:
56 the Sequence bytes==2 hop limit=63 time=30 ms
Reply from 2001:23:2:
56 the Sequence bytes==3 hop limit=63 time=30 ms
Reply from 2001:23:2:
56 the Sequence bytes==4 hop limit=63 time=30 ms
Reply from 2001:23:2:
56 Sequence of bytes==5 hop limit=63 time=40 ms
2-2001:23: : ping statistics -
5 packet (s) transmitted
4 packet (s) received
20.00% packet loss
Round - trip min/avg/Max=30/32/40 ms
See the neighbor table:
[Huawei] dis ospfv3 peer
OSPFv3 Process (1)
OSPFv3 Area (0.0.0.0)
Neighbor ID Pri State Dead Time Interface Instance ID
1.1.1.1 1 Full/DR 00:00:36 GE0/0/0 0
OSPFv3 Area (0.0.0.1)
Neighbor ID Pri State Dead Time Interface Instance ID
3.3.3.3 1 Full/Backup 00:00:39 GE0/0/1 0