Configuring Basic Connectivity for IPv6
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
The prefix-length argument in the ipv6 address command is a decimal value that indicates how many of
the high-order contiguous bits of the address comprise the prefix (the network portion of the address).
A slash mark must precede the decimal value.
Configuring a global IPv6 address on an interface automatically configures a link-local address and
activates IPv6 for that interface. Additionally, the configured interface automatically joins the following
required multicast groups for that link:
•
•
Note
The maximum number of IPv6 addresses (static and autoconfigured) allowed on an interface is eight,
Note
except on the management (mgmt 0) interface where only one static IPv6 address can be configured.
To configure an IPv6 address on an interface and enable IPv6 routing, follow these steps:
Command or Action
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# interface gigabitethernet 1/1
switch(config-if)#
switch(config)# interface mgmt 0
switch(config-if)#
switch(config)# interface gigabitethernet
2/2.100
switch(config-if)#
switch(config)# interface vsan 10
switch(config-if)#
Step 3
switch(config-if)# ipv6 address
2001:0DB8:800:200C::417A/64
switch(config-if)# ipv6 address autoconfig
switch(config-if)# ipv6 enable
Step 4
switch(config-if)# no shutdown
Cisco MDS 9000 Family NX-OS IP Services Configuration Guide
8-19
Solicited-node multicast group FF02:0:0:0:0:1:FF00::/104 for each unicast address assigned to the
interface
All-node link-local multicast group FF02::1
The solicited-node multicast address is used in the neighbor discovery process.
Chapter 8
Configuring IPv6 for Gigabit Ethernet Interfaces
Purpose
Enters configuration mode.
Specifies a Gigabit Ethernet interface and enters
interface configuration submode.
Specifies the management interface and enters
interface configuration submode.
Specifies a Gigabit Ethernet subinterface
(VLAN ID) and enters interface configuration
submode.
Specifies a VSAN interface and enters interface
configuration submode.
Assigns a unicast IPv6 address to the interface,
automatically configures an IPv6 link-local
address on the interface, and enables IPv6
processing on the interface.
Enables autoconfiguration of the IPv6 link-local
and unicast addresses on the interface, and
enables IPv6 processing on the interface.
Automatically configures an IPv6 link-local
address on the interface while also enabling the
interface for IPv6 processing. The link-local
address can be used only to communicate with
nodes on the same link.
Enables the interface.
OL-19525-01,Cisco MDS NX-OS Release 4.2(1)