3Com Switch 8800 Advanced Software V5 Configuration Guide
IPv6 Configuration Examples 231
n
The display dns domain and display dns server commands are the same as
those of IPv4 DNS. For details about the commands, refer to the Switch 8800
Command Reference Guide.
IPv6 Configuration
Examples
Network requirements
Switch A and Switch B are directly connected through two Ethernet ports that
belong to VLAN 2. Different types of IPv6 addresses are configured for the
interface VLAN-interface 2 to verify the connectivity between two switches. The
IPv6 prefix in the EUI-64 format is 2001::/64, the global unicast address of Switch
A is 3001::1/64, and the global unicast address of Switch B is 3001::2/64.
Network diagram
Figure 68 Network diagram for IPv6 address configuration
Configuration procedure
■ Configure Switch A
# Enable the IPv6 packet forwarding function.
<SwitchA> system-view
[SwitchA] ipv6
# Configure the interface VLAN-interface 2 to automatically generate a
link-local address.
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ipv6 address auto link-local
# Configure an EUI-64 address for the interface VLAN-interface 2.
[SwitchA-Vlan-interface2] ipv6 address 2001::/64 eui-64
# Configure a global unicast address for the interface VLAN-interface 2.
[SwitchA-Vlan-interface2] ipv6 address 3001::1/64
■ Configure Switch B
# Enable the IPv6 packet forwarding function.
<SwitchB> system-view
[SwitchB] ipv6
# Configure the interface VLAN-interface 2 to automatically generate a link-local
address.
Clear the statistics of IPv6 packets reset ipv6 statistics [ slot slot-number ]
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...
Switch A Switch B
Vlan-int2 Vlan-int2