Commands to statically configure a global unicast address
Syntax
ipv6 address [<network-prefix>
<interface-id> |
<prefix-length> ]
ipv6 address [<network-prefix> ::/
<prefix-length> eui-64 ]
Options
<network-prefix>
This 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.
Usage
enable IPv6 on the VLAN
configure a link-local address using the EUI-64 format
statically configure a global unicast address
If IPv6 is already enabled on the VLAN, the above commands statically configure a global unicast address, but have no effect on the current link-local 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.