27-6
Catalyst 2360 Switch Software Configuration Guide
OL-19808-01
Chapter 27 Configuring IPv6 Unicast Hosts
Configuring IPv6
Configuring IPv6 Addressing and Enabling IPv6 Host
This section describes how to assign IPv6 addresses to individual interfaces and to globally forward IPv6
traffic on the switch.
Before configuring IPv6 on the switch, consider this:
•
In the
ipv6 address
interface configuration command, you must enter the
ipv6-address
and
ipv6-prefix
variables with the address specified in hexadecimal using 16-bit values between colons.
The
prefix-length
variable (preceded by a slash [/]) is a decimal value that shows how many of the
high-order contiguous bits of the address comprise the prefix (the network portion of the address).
To forward IPv6 traffic on an interface, you must configure a global IPv6 address on that interface.
Configuring an IPv6 address on an interface automatically configures a link-local address and activates
IPv6 for the interface. The configured interface automatically joins these required multicast groups for
that link:
•
solicited-node multicast group FF02:0:0:0:0:1:ff00::/104 for each unicast address assigned to the
interface (this address is used in the neighbor discovery process.)
•
all-nodes link-local multicast group FF02::1
•
all-routers link-local multicast group FF02::2
For more information about configuring IPv6, see the “Implementing Addressing and Basic
Connectivity for IPv6” chapter in the
Cisco IOS IPv6 Configuration Library
on Cisco.com
.
Beginning in privileged EXEC mode, follow these steps to assign an IPv6 address to an interface and
enable IPv6 forwarding:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface
interface-id
Enter interface configuration mode, and specify the Layer 3
interface to configure. The interface can be a physical interface,
a switch virtual interface (SVI), or a Layer 3 EtherChannel.
Step 3
ipv6 address
ipv6-prefix/prefix
length
eui-64
or
ipv6 address
ipv6-address
link-local
or
ipv6 enable
Specify a global IPv6 address with an extended unique identifier
(EUI) in the low-order 64 bits of the IPv6 address. Specify only
the network prefix; the last 64 bits are automatically computed
from the switch MAC address. This enables IPv6 processing on
the interface.
Specify a link-local address on the interface to be used instead
of the link-local address that is automatically configured when
IPv6 is enabled on the interface. This command enables IPv6
processing on the interface.
Automatically configure an IPv6 link-local address on the
interface, and enable the interface for IPv6 processing. The
link-local address can only be used to communicate with nodes
on the same link.
Step 4
end
Return to privileged EXEC mode.
Step 5
show ipv6 interface
interface-id
Verify your entries.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.