Chapter 8
Configuring IPv6 for Gigabit Ethernet Interfaces
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
Command or Action
Step 5
switch(config-if)# exit
switch(config)
Step 6
switch(config)# ipv6 routing
Configuring IPv4 and IPv6 Protocol Addresses
When an interface in a Cisco networking device is configured with both an IPv4 and an IPv6 address,
the interface can send and receive data on both IPv4 and IPv6 networks.
To configure an interface in a Cisco networking device to support both the IPv4 and IPv6 protocol stacks,
follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# interface gigabitethernet 1/1
switch(config-if)#
Step 3
switch(config-if)# ip address 192.168.99.1
255.255.255.0
Step 4
switch(config-if)# ipv6 address
2001:0DB8:c18:1::3/64
Step 5
switch(config-if)# no shutdown
Step 6
switch(config-if)# exit
switch(config)
Step 7
switch(config)# ipv6 routing
Verifying Basic IPv6 Connectivity Configuration and Operation
You can display information to verify the configuration and operation of basic IPv6 connectivity.
This section provides the following show ipv6 command output examples:
•
•
•
OL-19525-01,Cisco MDS NX-OS Release 4.2(1)
Example Output for the show ipv6 interface Command
Example Output for the show ipv6 neighbours Command
Example Output for the show ipv6 traffic Command
Purpose
Exits interface configuration submode and
returns to configuration mode.
Enables the processing of IPv6 unicast
datagrams.
Purpose
Enters configuration mode.
Specifies the interface, and enters interface
configuration submode.
Specifies a primary or secondary IPv4 address
for an interface.
Specifies the IPv6 network assigned to the
interface and enables IPv6 processing on the
interface.
See the
Note
and Enabling IPv6 Routing"
more information on configuring IPv6
addresses.
Enables the interface.
Exits interface configuration submode, and
returns to configuration mode.
Enables the processing of IPv6 unicast
datagrams.
Cisco MDS 9000 Family NX-OS IP Services Configuration Guide
Configuring Basic Connectivity for IPv6
"Configuring IPv6 Addressing
section for
8-20