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
Modes
Interface configuration mode
Usage Guidelines
The eui-64 keyword is not available when assigning a 127-bit subnet mask to an IPv6 address.
Examples
The following example configures an IPv6 address for the tunnel interface.
device# configure terminal device(config)# interface tunnel 1 device(config-tnif-1)# ipv6 address 2001:DB8:384d:34::/64 eui-64
The following example assigns a 127-bit subnet mask to an IPv6 address on two devices.
device1# configure terminal device1(config)# interface ethernet 1/1/5 device1(config-if-e1000-1/1/5)# ipv6 address 2001:1::0/127 device2# configure terminal device2(config)# interface ethernet 1/1/5 device2(config-if-e1000-1/1/5)# ipv6 address 2001:1::1/127
History
| Release version | Command history |
|---|---|
| 08.0.92a | Support was added for 127-bit subnet masks. |