IPv6 Configuration Example 517
n
The display dns domain command is the same as the one of IPv4 DNS. For 
details about the commands, refer to “DNS Configuration” on page 971.
IPv6 Configuration 
Example
Network requirements
Two switches are directly connected through two Ethernet ports. The Ethernet 
ports belong to VLAN 2. Configure different types of IPv6 addresses for 
VLAN-interface 2 respectively on Switch A and Switch B to verify the connectivity 
between two switches. The IPv6 prefix in the EUI-64 format is 2001::/64. Specify 
the aggregatable global unicast address of Switch A as 3001::1/64, and the 
aggregatable global unicast address of Switch B as 3001::2/64.
Network diagram
Figure 155   Network diagram for IPv6 address configuration
 
Configuration procedure
■ Configuration on Switch A
Display the total number of 
neighbor entries satisfying the 
specified conditions 
display ipv6 neighbors { all | dynamic | 
interface interface-type interface-number | 
static | vlan vlan-id } count 
Available in 
any view 
Display the PMTU information 
of an IPv6 address 
display ipv6 pathmtu { ipv6-address | all | 
dynamic | static }
Display information related to a 
specified socket 
display ipv6 socket [ socktype socket-type ] 
[ task-id socket-id ]
Display the statistics of IPv6 
packets and ICMPv6 packets 
display ipv6 statistics
Display the IPv6 TCP connection 
statistics 
display tcp ipv6 statistics
Display the IPv6 TCP connection 
status 
display tcp ipv6 status
Display the IPv6 UDP 
connection statistics 
display udp ipv6 statistics
Clear IPv6 dynamic domain 
name cache information 
reset dns ipv6 dynamic-host Available in 
user view 
Clear IPv6 neighbor information  reset ipv6 neighbors { all | dynamic | 
interface interface-type interface-number | 
static }
Clear the corresponding PMTU  reset ipv6 pathmtu { all | static | dynamic}
Clear the statistics of IPv6 and 
ICMPv6 packets 
reset ipv6 statistics
Clear all IPv6 TCP connection 
statistics 
reset tcp ipv6 statistics
Clear the statistics of all IPv6 
UDP packets 
reset udp ipv6 statistics
To do…  Use the command…  Remarks 
Switch A Switch B
Vlan-int2 Vlan -int2