apply to one or more specific interfaces, and are therefore specified by this
command at the interface configuration level.
If a link-local address has not yet been assigned to this interfa ce, this
command will assign the specified static glo bal un icast ad dress and a lso
dynamically generate a link-local unicast address for the interface . (The
link-local address is made with an address prefix of FE80 and a h ost portion
based the router’s MAC address in modified EUI-64 format.)
If a duplicate address is detected, a warning message is sent to th e console.
Example
This example uses the general network prefix of 2009:DB9:2229::/48 used in an
earlier example, and then specifies the subsequent prefix bits 0:0:0:7279::/64, and
finally the host address portion of 79.
Console(config)#interface vlan 1
Console(config-if)#ipv6 address rd 0:0:0:7279::79/64
Console(config-if)#end
Console#show ipv6 interface
Vlan 1 is up
IPv6 is enable.
Link-local address:
FE80::200:E8FF:FE90:0/64
Global unicast address(es):
2009:DB9:2229:7279::79, subnet is 2009:DB9:2229:7279::/64
Joined group address(es):
FF01::1/16
FF02::1/16
FF02::1:FF00:79/104
FF02::1:FF90:0/104
MTU is 1500 bytes.
ND DAD is enabled, number of DAD attempts: 1.
ND retransmit interval is 1000 milliseconds
Console#
Related Commands
ipv6 address eui-64 (41-1 2)
ipv6 address autoconfig ( 41-10)
show ipv6 interface (41-14)
ip address (41-3)
ipv6 address autoconfig
This command enables stateless autoconfiguration of IPv6 addresses on an
interface and enables IPv6 on the interface. The networ k portion of the addr ess is
based on prefixes received in IPv6 router advert isement mess ages; t he ho st portion
in based on the modified EUI-64 form of the interface identifier (i.e ., the route r’s
MAC address). Use the
no
form to remove the address generated by this command.
Syntax
[no] ipv6 address autoconfig
41-10
IP Interface Commands
41