Network diagram
Figure 68-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> system-view
[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.
<SwitchA> system-view
[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
Global unicast address(es):
2001::20F:E2FF:FE49:8048, subnet is 2001::/64
3001::1, subnet is 3001::/64
Joined group address(es):
FF02::1:FF00:1
FF02::1:FF49:8048
FF02::1
MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
68-15