Child pages
  • IPv6 Rosetta Stone
Skip to end of metadata
Go to start of metadata

General Commands

OS

Display IPv6 routing table

ping6

traceroute6

Display IPv6 Addresses

Display IPv6 connections

Flush DNS cache

Mac OS X

netstat -rnf inet6

ping6

traceroute6

ifconfig -a inet6

netstat -f inet6

10.3, 10.4: lookupd -flushcache
10.5: dscacheutil -flushcache

Solaris

netstat -rnf inet6

ping -A inet6

traceroute -A inet6

ifconfig -a6

netstat -f inet6

8, 9: /etc/init.d/nscd stop && /etc/init.d/nscd start
10: svcadm restart name-service-cache

Linux

netstat -rnA inet6

ping6

traceroute6

ip -6 address show

netstat -A inet6 / netstat --inet6

/etc/rc.d/init.d/nscd restart

AIX

netstat -rnf inet6

ping -a inet6*


ifconfig -a inet6

 

 

FreeBSD

netstat -rnf inet6

ping6

traceroute6

ifconfig -a inet6

netstat -f inet6

/etc/rc.d/named restart

Windows

netstat -rn
or netsh interface ipv6 show routes

ping -6

tracert -6

ipconfig

netstat -p IPv6

ipconfig /flushdns

z/OS (TSO)

NETSTAT ROUTE ADDRTYPE IPV6

PING X ( Addrtype ipv6

TRACERTE X ( Addrtype ipv6

 

NETSTAT SOCKETS

 

z/OS (Unix)

netstat -r ADDRTYPE IPV6

ping -A ipv6 X

traceroute -A ipv6 X

 

netstat -s

 

Vyata

show ipv6 route

ping6

traceroute6

 

 

 

* Note: On AIX, it is frequently necessary to use an IPv6 address for ping6. If a hostname with A and AAAA records is used, AIX will try to ping6 its IPv4 address.

* X = hostname or IPv6 address. If using a hostname with both A and AAAA records, you must include the "( Addrtype ipv6" modifier. Otherwise, this modifier is optional. Note: there is no closing ")".

Neighbor Discovery Cache commands

OS

Display neighbor cache

Delete one entry

Flush neighbor cache

Mac OS X

ndp -a

ndp -d

ndp -c

Solaris

netstat -pf inet6



Linux

ip -6 neigh show

 

ip -6 neigh flush

AIX

ndp -a

ndp -d

 

FreeBSD

ndp -a

ndp -d

ndp -c

Windows

netsh interface ipv6 show neighbors

 

netsh interface ipv6 delete neighbors

IOS

show ipv6 neighbors

 

clear ipv6 neighbors

JunOS

show ipv6 neighbors

 

clear ipv6 neighbors

z/OS (TSO)

NETSTAT ND

 

 

z/OS (Unix)

netstat -n

 

 

Vyatta

show ipv6 neighbors

 

clear ipv6 neighbors

Miscellaneous

OS

Show stateless-autoconfig address lifetime

Show multicast group membership

Mac OS X

ifconfig -L

netstat -g

Solaris

 

netstat -gf inet6

Linux

ip -f inet6 addr show

netstat -gA inet6 -or- ip -6 maddr show

AIX

 

 

FreeBSD

ifconfig -L

ifmcstat -f inet6 -or- netstat -gf inet6 (the latter is deprecated)

Windows

netsh interface ipv6 show address

netsh interface ipv6 show joins

DHCPv6

OS

Show lease time

Release lease

Renew Lease

Manually start client

Mac OS X

N/A

N/A

N/A

 

Solaris 10

netstat -D -or- ifconfig XX inet6 dhcp status

ifconfig XX inet6 dhcp release1

ifconfig XX inet6 dhcp extend

ifconfig XX inet6 dhcp start

Fedora DHCPv6

 

 

 

 

AIX 5.3

 

 

 

 

ISC 4.1

 

dhclient -6 -r

 

dhclient -6 XX; stateless: dhclient -6 -S XX; prefix delegation: dhclient -6 -P XX; temporary: dhclient -6 -T XX

WIDE DHCPv6

 

dhcp6ctl -C stop interface XX

 

dhcp6s XX, if the client isn't running. Or, dhcp6ctl -C start interface XX

Windows Vista/7

ipconfig /all

ipconfig /release6

ipconfig /renew6

 

HP-UX 11i


dhcpv6client_ui -r

 

dhcpv6client_ui -m XX

"XX" denotes the interface name, e.g., eth0 or e1000g0.

1. To return the lease to the DHCPv6 server, use "release." Alternatively, to deconfigure the address from the interface, and journal it to disk for later use, use "drop".