IPv6 Addressing Commands
78-20269-01 Command Line Interface Reference Guide
•
anycast—(Optional) Indicates that this address is an anycast address.
•
prefix-length—3–128 (64 when the eui-64 parameter is used.
Default Configuration
No IP address is defined for the interface.
Command Mode
Interface configuration (Ethernet, VLAN, Port-channel) mode. It cannot be
configured for a range of interfaces (range context).
User Guidelines
If the value specified for the /prefix-length argument is greater than 64 bits, the
prefix bits have precedence over the interface ID.
Using the no IPv6 address command without arguments removes all manually
configured IPv6 addresses from an interface, including link local manually
configured addresses.
Example
console(config)# interface vlan 1
console(config-if)# ipv6 address 3000::123/64 eui-64 anycast
36.6
ipv6 address link-local
Use the ipv6 address link-local command to configure an IPv6 link-local address
for an interface. Use the no form of this command to return to the default link local
address on the interface.
Syntax
ipv6-address/prefix-length
ipv6 address
pv6-address/prefix-length
no ipv6 address [i
Parameters
•
ipv6-address—Specifies the IPv6 network assigned to the interface.This
argument must be in the form documented in RFC 2373 where the address
is specified in hexadecimals using 16-bit values between colons.
link-local
link-local]
36
503