39-17
Cisco Catalyst Switch Module 3110 and 3012 for IBM BladeCenter Software Configuration Guide
OL-12189-01
Chapter 39 Configuring IPv6 Host Functions and Unicast Routing
Configuring IPv6
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
without arguments. To disable IPv6 processing on an interface that has not been explicitly configured
with an IPv6 address, use the no ipv6 enable interface configuration command. To globally disable IPv6
routing on the Catalyst Switch Module 3110, use the no ipv6 unicast-routing global configuration
command.
This example shows how to enable an IPv6 host on an interface:
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# no switchport
Switch(config-if)# ipv6 enable
Switch(config-if)# exit
This example shows how to enable IPv6 with both a link-local address and a global address based on the
IPv6 prefix 2001:0DB8:c18:1::/64. The EUI-64 interface ID is used in the low-order 64 bits of both
addresses. Output from the show ipv6 interface EXEC command shows how the interface ID
(20B:46FF:FE2F:D940) is appended to the link-local prefix FE80::/64 of the interface.
Switch(config)# sdm prefer dual-ipv4-and-ipv6 default
Switch(config)# ipv6 unicast-routing
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# no switchport
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 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
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 This step applies only to the Catalyst Switch Module 3110.
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.
Command Purpose