Skip to main content

Commands for diagnosing network problems

You can diagnose problems on your network by using commands such as ping, traceroute, ndp, and tcpdump. You can also use commands such as ping6 and traceroute6 to diagnose IPv6 problems.

If you want to...Enter this command...
Test whether the node can reach other hosts on your networknetwork ping
Test whether the node can reach other hosts on your IPv6 networknetwork ping6
Trace the route that the IPv4 packets take to a network nodenetwork traceroute
Trace the route that the IPv6 packets take to a network nodenetwork traceroute6
Manage the Neighbor Discovery Protocol (NDP)network ndp
Display statistics about packets that are received and sent on a specified network interface or on all network interfacesrun -node node_name ifstat
Note
This command is available from the nodeshell.
Display information about neighboring devices that are discovered from each node and port in the cluster, including the remote device type and device platformnetwork device-discovery show
View the CDP neighbors of the node (ONTAP supports only CDPv1 advertisements)run -node node_name cdpd show-neighbors
Note
This command is available from the nodeshell.
Trace the packets that are sent and received in the network network tcpdump start -node node-name -port port_name
Note
This command is available from the nodeshell.
Measure latency and throughput between intercluster or intracluster nodesnetwork test-path -source-node source_nodename|local -destination-cluster destination_clustername -destination-node destination_nodename -session-type Default|AsyncMirrorLocal|AsyncMirrorRemote|SyncMirrorRemote|RemoteDataTransfer
Note
For more information, see the Performance Monitoring Power Guide.

For more information about these commands, see the appropriate man pages.