Statically configuring a global unicast address

Syntax:

ipv6 address [<network-prefix> <interface-id> | <prefix-length> ]

no ipv6 address [<network-prefix> <interface-id> | <prefix-length> ]

ipv6 address [<network-prefix> ::/ <prefix-length> eui-64 ]

no ipv6 address [<network-prefix> ::/ <prefix-length> eui-64 ]

If IPv6 is already enabled on the VLAN, the previous commands statically configure a global unicast address, but have no effect on the current link-local address.

If IPv6 is not already enabled on a VLAN, either of these command options enable IPv6 on the VLAN, configure a link-local address using the EUI-64 format, or statically configure a global unicast address.

After verification of uniqueness by DAD, the lifetime of a statically configured IPv6 address assigned to a VLAN is set to permanent and is configured as a preferred address.

If no other IPv6-enabling command is configured on the VLAN, the no form of the command erases the specified address and disables IPv6 on the VLAN.

<network-prefix> : Includes the global routing prefix and the subnet ID for the address.

<interface-id> : Enters a user-defined interface identity.

<prefix-length> : Specifies the number of bits in the network prefix. If you are using the eui-64 option, this value must be 64.

eui-64 : Specifies using the Extended Unique Identifier (EUI) format to create an interface identifier based on the VLAN MAC address.