Got it

A Peek at IPv6 06 IPv6 Basic Configuration - configuration commands REPRINT

446 0 1 0 0

Authorized reprint by author zhushigeng (Vinsoney)

I. Basic Configuration Commands

1. Enable the IPv6 function globally.

[Quidway] ipv6

Before configuring IPv6 on a network device, you must enable the IPv6 function in the system view.

2. Activate the IPv6 function on an interface.

[Quidway-GigabitEthernet0/0/0] ipv6 enable

Before configuring IPv6 on an interface, you must enable the IPv6 function on the interface.

3. Configure an IPv6 global unicast address for the interface.

[Quidway-GigabitEthernet0/0/0] ipv6 address 2001::1 64

The preceding command is used to specify an IPv6 address for an interface, including the prefix and interface ID. You can also specify an IPv6 prefix for an interface. The interface ID is automatically generated by the device through the EUI-64 specification. Run the following command:

[Quidway-GigabitEthernet0/0/0] ipv6 address 2001:: 64 eui-64

4. Configure an IPv6 link-local address for the interface.

[Quidway-GigabitEthernet0/0/0] ipv6 address auto link-local//Automatic configuration


[Quidway-GigabitEthernet0/0/0] ipv6 address FE80::11 link-local//Manual configuration

After IPv6 is enabled on an interface, the interface does not have any IPv6 address. To enable the interface to work properly, you need to configure an IPv6 address for the interface. After the global IPv6 unicast address is configured for the interface, the interface automatically configures the link-local address, and no manual intervention is required. If the interface does not obtain any IPv6 unicast address, you need to use one of the preceding commands to configure the link-local address.

  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.