1-2
To do…
Use the command…
Remarks
Configure an IPv4 address for the interface
ip address
ip-address
{
mask
|
mask-length
}
[
sub
]
Required
By default, no IP
address is
configured.
Manually specify
an IPv6 address
ipv6 address
{
ipv6-address prefix-length
|
ipv6-address/prefix-length
}
Configure an
IPv6 global
unicast
address or
site-local
address
Configure an
IPv6 address in
the EUI-64
format
ipv6 address
ipv6-address/prefix-length
eui-64
Use either
command.
By default, no
site-local address
or global unicast
address is
configured on an
interface.
Automatically
create an IPv6
link-local address
ipv6 address auto
link-local
Configure an
IPv6 address
on the
interface
Configure an
IPv6
link-local
address
Manually specify
an IPv6 link-local
address
ipv6 address ipv6-address
link-local
Optional
By default, after
you configured an
IPv6 site-local
address or global
unicast address, a
link local address
is automatically
created.
z
For information about IPv4 addressing, refer to
IP Addressing Configuration
in the
IP Services
Volume
.
z
For more information about IPv6 address, refer to
IPv6 Basics Configuration
in the
IP Services
Volume
.
z
For how to enable IPv6 and configure an IPv6 address on an interface, refer to
IPv6 Basics
Commands
in the
IP Services Volume
.