I
NITIAL
C
ONFIGURATION
2-17
Obtaining an IPv6 Address
Link Local Address — There are several ways to dynamically configure
IPv6 addresses. The simplest method is to automatically generate a “link
local” address (identified by an address prefix of FE80). This address type
makes the switch accessible over IPv6 for all devices attached to the same
local subnet.
To generate an IPv6 link local address for the switch, complete the
following steps:
1. From the Global Configuration mode prompt, type “interface vlan 1”
to access the interface-configuration mode. Press <Enter>.
2. Type “ipv6 enable” and press <Enter>.
Address for Multi-segment Network — To generate an IPv6 address that
can be used in a network containing more than one subnet, the switch can
be configured to automatically generate a unique host address based on the
local subnet address prefix received in router advertisement messages.
(DHCP for IPv6 will also be supported in future software releases.)
To dynamically generate an IPv6 host address for the switch, complete the
following steps:
1. From the Global Configuration mode prompt, type “interface vlan 1”
to access the interface-configuration mode. Press <Enter>.
Console(config)#interface vlan 1 24-2
Console(config-if)#ipv6 enable 36-10
Console(config-if)#end
Console#show ipv6 interface 36-8
Vlan 1 is up
IPv6 is enable.
Link-local address:
FE80::200:E8FF:FE90:0/64
Global unicast address(es):
Joined group address(es):
FF01::1/16
FF02::1/16
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#