When starting with the IPv6 portion of Vol 1, one of the tasks is to enable IPv6 on SW1 and SW3. When trying to do this, I forgot how to enable IPv6 on the Catalyst switch line.
For starters, I went into the switch and I had forgotten of the procedure necessary to have IPv6 working on the switches. As you can see, I tried various commands to enable IPv6 but to no avail.
Enter configuration commands, one per line. End with CNTL/Z.
Rack1SW1(config)#int vlan 67
Rack1SW1(config-if)#ip?
ip
Rack1SW1(config-if)#ipv6 enable ?
% Unrecognized command
Rack1SW1(config-if)#exit
Rack1SW1(config)#ipv
Rack1SW1(config)#ipv6 un
Rack1SW1(config)#ipv6 ?
% Unrecognized command
Rack1SW1(config)#exit
Rack1SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Rack1SW1(config)#ipv?
% Unrecognized command
Rack1SW1(config)#exit
Rack1SW1#sh license
^
% Invalid input detected at ‘^’ marker.
Rack1SW1#sh version
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(46)SE, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Thu 21-Aug-08 15:26 by nachen
Image text-base: 0×00003000, data-base: 0x01A00000
After a little bit of digging, I remembered that the way to enable IPv6 on the 3560′s is via the SDM.
Rack1SW1#show sdm prefer
The current template is “desktop default” template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 6K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 8K
number of directly-connected IPv4 hosts: 6K
number of indirect IPv4 routes: 2K
number of IPv4 policy based routing aces: 0
number of IPv4/MAC qos aces: 0.5K
number of IPv4/MAC security aces: 1K
Rack1SW1#conf t
Rack1SW1(config)#sdm prefer ?
access Access bias
default Default bias
dual-ipv4-and-ipv6 Support both IPv4 and IPv6
ipe IPe bias
routing Unicast bias
vlan VLAN bias
Rack1SW1(config)#sdm prefer dual-ipv4-and-ipv6 ?
default Default bias
routing Unicast bias
vlan VLAN bias
Rack1SW1(config)#sdm prefer dual-ipv4-and-ipv6 routing
Changes to the running SDM preferences have been stored, but cannot take effect
until the next reload.
Use ‘show sdm prefer’ to see what SDM preference is currently active.
Rack1SW1(config)#exit
Rack1SW1#wri mem
Rack1SW1#show sdm prefer
The current template is “desktop default” template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 6K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 8K
number of directly-connected IPv4 hosts: 6K
number of indirect IPv4 routes: 2K
number of IPv4 policy based routing aces: 0
number of IPv4/MAC qos aces: 0.5K
number of IPv4/MAC security aces: 1K
On next reload, template will be “desktop IPv4 and IPv6 routing” template.
Rack1SW1#reload
Proceed with reload? [confirm]
*Mar 1 05:08:34.051: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload command.
After rebooting, everything is set and ready for IPv6 traffic.
Rack1SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Rack1SW1(config)#ipv6 unicast-routing
Rack1SW1(config)#exit
Rack1SW1#wri mem
Building configuration…
[OK]
Rack1SW1#
*Mar 1 00:01:39.270: %SYS-5-CONFIG_I: Configured from console by console
Rack1SW1#conf t
Rack1SW1(config)#int vlan 67
Rack1SW1(config-if)#ipv6 enable
Rack1SW1(config-if)#int gig0/3
Rack1SW1(config-if)#ipv6 enable
Rack1SW1(config-if)#^Z
Rack1SW1#
*Mar 1 00:09:58.426: %SYS-5-CONFIG_I: Configured from console by console