Send document comments to nexus7k-docfeedback@cisco.com.
3-19
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 3 Configuring IPv6
Configuring IPv6
Configuring IPv6 Addressing
You must configure an IPv6 address on an interface for the interface to forward IPv6 traffic. When you
configure a global IPv6 address on an interface, it automatically configures a link-local address and
activates IPv6 for that interface.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. config t
2. interface ethernet number
3. ipv6 address {addr [eui64] [route-preference preference] [secondary] tag tag-id]]
or
ipv6 address ipv6-address use-link-local-only
4. show ipv6 interface
5. copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
interface ethernet
number
Example:
switch(config)# interface ethernet 2/3
switch(config-if)#
Enters interface configuration mode.
Step 3
ipv6 address {
addr
[eui64]
[route-preference
preference
]
[secondary] tag
tag-id
]
or
ipv6 address
ipv6-address
use-link-local-only
Example:
switch(config-if)# ipv6 address
2001:0DB8::1/10
or
switch(config-if)# ipv6 address
use-link-local-only
Specifies an IPv6 address assigned to the interface and
enables IPv6 processing on the interface.
Specifying the ipv6 address command configures
global IPv6 addresses with an interface identifier (ID)
in the low-order 64 bits of the IPv6 address. Only the
64-bit network prefix for the address needs to be
specified; the last 64 bits are automatically computed
from the interface ID.
Specifying the ipv6 address use-link-local-only
command configures a link-local address on the
interface that is used instead of the link-local address
that is automatically configured when IPv6 is enabled
on the interface.
Enables IPv6 processing on an interface without
configuring an IPv6 address.