Cisco Catalyst 2960 Software Configuration Manual page 836

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Configuring IPv6
Command
Step 7
ipv6 address ipv6-prefix/prefix length eui-64
or
ipv6 address ipv6-address/prefix length
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
Switch# show ipv6 interface gigabitethernet1/0/1
GigabitEthernet1/0/1 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::20B:46FF:FE2F:D940
Global unicast address(es):
2001:0DB8:c18:1:20B:46FF:FE2F:D940, subnet is 2001:0DB8:c18:1::/64 [EUI]
Joined group address(es):
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds
ND advertised retransmit interval is 0 milliseconds
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
35-8
FF02::1
FF02::2
FF02::1:FF2F:D940
Purpose
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.
Manually configure an IPv6 address 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-26520-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents