Ipv6 basics configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual
Page 172

158
Task Command
Remarks
Clear the statistics of 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.
Clear ND snooping entries.
reset ipv6 nd snooping [ ipv6-address | vlan
vlan-id ]
Available in user view.
IPv6 basics configuration example
IMPORTANT:
By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring the
interface up by executing the undo shutdown command.
Network requirements
•
Host, Switch A, and Switch B are directly connected through Ethernet ports. Add the Ethernet ports
into corresponding VLANs, configure IPv6 addresses for the VLAN interfaces and verify that they
are connected.
•
The global unicast addresses of VLAN-interface 1 and VLAN-interface 2 on Switch A are
2001::1/64 and 3001::1/64 respectively.
•
The global unicast address of VLAN-interface 2 on Switch B is 3001::2/64, and a route to Host is
available.
•
IPv6 is enabled for Host to automatically obtain an IPv6 address through IPv6 ND, and a route to
Switch B is available.
Figure 64 Network diagram
NOTE:
The VLAN interfaces have been created on the switches.
Configuration procedure
1.
Configure Switch A:
# Enable IPv6.
[SwitchA] ipv6
# Specify a global unicast address for VLAN-interface 2.
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ipv6 address 3001::1/64