Ipv6 configuration example, Ipv6 unicast address configuration, Network requirements – H3C Technologies H3C S3600 Series Switches User Manual
Page 1107: Network diagram, Configuration procedure, Verification
1-17
IPv6 Configuration Example
IPv6 Unicast Address Configuration
Network requirements
Two switches are directly connected through two Ethernet ports. The Ethernet ports belong to VLAN 2.
Different types of IPv6 addresses are configured for the interface VLAN-interface 2 on each switch to
verify the connectivity between the 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 1-5 Network diagram for IPv6 address configuration
Configuration procedure
1) Configure Switch A.
# Configure an automatically generated link-local address for the interface VLAN-interface 2.
[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
2) Configure Switch B.
# Configure an automatically generated link-local address for the interface VLAN-interface 2.
[SwitchB] interface Vlan-interface 2
[SwitchB-Vlan-interface2] ipv6 address auto link-local
# Configure an EUI-64 address for the interface VLAN-interface 2.
[SwitchB-Vlan-interface2] ipv6 address 2001::/64 eui-64
# Configure a global unicast address for the interface VLAN-interface 2.
[SwitchB-Vlan-interface2] ipv6 address 3001::2/64
Verification
# Display the brief IPv6 information of an interface on Switch A.
[SwitchA-Vlan-interface2] display ipv6 interface vlan-interface 2
Vlan-interface2 current state : UP
Line protocol current state : UP
IPv6 is enabled, link-local address is FE80::20F:E2FF:FE49:8048