37-11
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 37 Configuring IPv6 Unicast Routing
Configuring IPv6
Beginning in privileged EXEC mode, follow these steps to assign an IPv6 address to a Layer 3 interface
and enable IPv6 routing:
To remove an IPv6 address from an interface, use the no ipv6 address ipv6-prefix/prefix length eui-64
or no ipv6 address ipv6-address link-local interface configuration command. To remove all manually
configured IPv6 addresses from an interface, use the no ipv6 address interface configuration command
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 sdm prefer dual-ipv4-and-ipv6 {default |
routing | vlan}
Select an SDM template that supports IPv4 and IPv6.
default—Set the switch to the default template to balance
system resources.
routing—Set the switch to the routing template to support
IPv4 and IPv6 routing, including IPv4 policy-based routing.
vlan—Maximize VLAN configuration on the switch with
no routing supported in hardware.
Step 3 end Return to privileged EXEC mode.
Step 4 reload Reload the operating system.
Step 5 configure terminal Enter global configuration mode after the switch reloads.
Step 6 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 7 no switchport Remove the interface from Layer 2 configuration mode (if it is a
physical interface).
Step 8 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 9 exit Return to global configuration mode.
Step 10 ip routing Enable IP routing on the switch.
Step 11 ipv6 unicast-routing Enable forwarding of IPv6 unicast data packets.
Step 12 end Return to privileged EXEC mode.
Step 13 show ipv6 interface interface-id Verify your entries.
Step 14 copy running-config startup-config (Optional) Save your entries in the configuration file.