Send document comments to nexus7k-docfeedback@cisco.com.
3-20
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 3 Configuring IPv6
Configuring IPv6
This example shows how to configure an IPv6 address:
switch# config t
switch(config)# interface ethernet 3/1
switch(config-if)# ipv6 address ?
A:B::C:D/LEN IPv6 prefix format: xxxx:xxxx/ml, xxxx:xxxx::/ml,
xxxx::xx/128
use-link-local-only Enable IPv6 on interface using only a single link-local
address
switch(config-if)# ipv6 address dc3:dc3::/64 eui64
This example shows how to display an IPv6 interface:
switch(config-if)# show ipv6 interface ethernet 3/1
Ethernet3/1, Interface status: protocol-down/link-down/admin-down, iod: 36
IPv6 address: 0dc3:0dc3:0000:0000:0218:baff:fed8:239d
IPv6 subnet: 0dc3:0dc3:0000:0000:0000:0000:0000:0000/64
IPv6 link-local address: fe80::0218:baff:fed8:239d (default)
IPv6 multicast routing: disabled
IPv6 multicast groups locally joined:
ff02::0001:ffd8:239d ff02::0002 ff02::0001 ff02::0001:ffd8:239d
IPv6 multicast (S,G) entries joined: none
IPv6 MTU: 1500 (using link MTU)
IPv6 RP inbound packet-filtering policy: none
IPv6 RP outbound packet-filtering policy: none
IPv6 inbound packet-filtering policy: none
IPv6 outbound packet-filtering policy: none
IPv6 interface statistics last reset: never
IPv6 interface RP-traffic statistics: (forwarded/originated/consumed)
Unicast packets: 0/0/0
Unicast bytes: 0/0/0
Multicast packets: 0/0/0
Multicast bytes: 0/0/0
Configuring IPv6 Neighbor Discovery
You can configure IPv6 neighbor discovery on the router. The neighbor discovery protocol enables IPv6
nodes and routers to determine the link-layer address of a neighbor on the same link, find neighboring
routers, and keep track of neighbors.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command). You must first enable IPv6
on the interface.
Step 4
show ipv6 interface
Example:
switch(config-if)# show ipv6 interface
(Optional) Displays interfaces configured for IPv6.
Step 5
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose