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

156
Task Command Remarks
Clear all IPv6 TCP connection
statistics.
reset tcp ipv6 statistics Available in user view.
Clear the statistics of all IPv6
UDP packets.
reset udp ipv6 statistics Available in user view.
IPv6 basics configuration example
Network requirements
As shown in Figure 61, a host, Router A, and Router B are connected through GigabitEthernet interfaces.
Configure IPv6 addresses for the interfaces and verify that they are connected.
Enable IPv6 on the host to automatically obtain an IPv6 address through IPv6 ND.
Figure 61 Network diagram
Configuration procedure
1. Configure Router A:
# Enable IPv6.
<RouterA> system-view
[RouterA] ipv6
# Assign a global unicast address for interface GigabitEthernet 2/0/1.
[RouterA] interface GigabitEthernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ipv6 address 3001::1/64
[RouterA-GigabitEthernet2/0/1] quit
# Assign a global unicast addresses for interface GigabitEthernet 2/0/2 and allow it to advertise
RA messages (no interface advertises RA messages by default).
[RouterA] interface gigabitethernet 2/0/2
[RouterA-GigabitEthernet2/0/2] ipv6 address 2001::1/64
[RouterA-GigabitEthernet2/0/2] undo ipv6 nd ra halt
[RouterA-GigabitEthernet2/0/2] quit
2. Configure Router B:
# Enable IPv6.
<RouterB> system-view
[RouterB] ipv6
# Assign a global unicast address for interface GigabitEthernet 2/0/1.
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] ipv6 address 3001::2/64
[RouterB-GigabitEthernet2/0/1] quit