Cisco Catalyst 2975 Software Configuration Manual page 814

Ios release 12.2(55)se
Hide thumbs Also See for Catalyst 2975:
Table of Contents

Advertisement

Configuring IPv6
Beginning in privileged EXEC mode, follow these steps to assign an IPv6 address to a Layer 3 interface
and enable IPv6forwarding:
Command
Step 1
configure terminal
Step 2
sdm prefer dual-ipv4-and-ipv6 default
Step 3
end
Step 4
reload
Step 5
configure terminal
Step 6
interface interface-id
Step 7
ipv6 address ipv6-prefix/prefix length eui-64
or
ipv6 address ipv6-address link-local
or
ipv6 enable
Step 8
exit
Step 9
end
Step 10
show ipv6 interface interface-id
Step 11
copy running-config startup-config
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, use the no ipv6 unicast-routing global configuration command.
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)# interface gigabitethernet1/0/1
Switch(config-if)# ipv6 address 2001:0DB8:c18:1::/64 eui 64
Switch(config-if)# end
Catalyst 2975 Switch Software Configuration Guide
35-8
Purpose
Enter global configuration mode.
Select the SDM template that supports IPv4 and IPv6.
Return to privileged EXEC mode.
Reload the operating system.
Enter global configuration mode after the switch reloads.
Enter interface configuration mode, and specify the interface to
configure.
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.
Return to global configuration mode.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 35
Configuring IPv6 Host Functions
OL-19720-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents