ipv6 address
Configures an IPv6 address for an interface.
Syntax
ipv6 address
ipv6-prefix
[
anycast
|
eui-64
]
no ipv6 address
ipv6-prefix
[
anycast
|
eui-64
]
ipv6 address
ipv6-address
link-local
no ipv6 address
ipv6-address
link-local
Command Default
An IPv6 address is not configured.
Parameters
- ipv6-prefix
- Specifies the IPv6 prefix address in the format X:X::X:X/M.
- anycast
- Configuresan address as an anycast address.
- eui-64
- Configures the global address with an EUI-64 interface ID in the low-order 64 bits. The interface ID is automatically constructed in IEEE EUI-64 format using the interface's MAC address.
- ipv6-address
- Specifies the IPv6 address.
- link-local
- Configures the address as a link-local address.
Modes
Interface configuration mode
Usage Guidelines
The no form of the command removes the IPv6 address.
Examples
The following example configures an IPv6 address for the tunnel interface.
device(config)# interface tunnel 1 device(config-tnif-1)# ipv6 address 2001:DB8:384d:34::/64 eui-64