Chapter 39 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:

 

Command

Purpose

Step 1

 

 

configure terminal

Enter global configuration mode.

Step 2

 

 

sdm prefer dual-ipv4-and-ipv6 {default

Select an SDM template that supports IPv4 and IPv6.

 

routing vlan}

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 has reloaded).

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

Specify a global IPv6 address with an extended universal

 

 

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

 

or

enables IPv6 processing on the interface.

 

 

 

ipv6 address ipv6-addresslink-local

Specify a link-local address on the interface to be used instead

 

 

of the link-local address that is automatically configured when

 

or

IPv6 is enabled on the interface. This command enables IPv6

 

processing on the interface.

 

 

 

ipv6 enable

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 ip v6 interface interface-id

Verify your entries.

Step 14

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

To remove an IPv6 address from an interface, use the no ipv6 address ipv6-prefix/prefix length eui-64or no ipv6 address ipv6-addresslink-localinterface configuration command. To remove all manually configured IPv6 addresses from an interface, use the no ipv6 address interface configuration command

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

39-12

OL-9775-02

Page 964
Image 964
Cisco Systems 3750E manual 39-12