Table of ContentsLibraryView in Frames

How to diagnose network problems

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

The cdpd command displays information of the devices that advertise themselves by using the CDPv1 protocol. You can use this command to view information about the CDP neighbors of the storage system and therefore, detect network connectivity.
The netdiag command continuously gathers and analyzes statistics, and performs diagnostic tests. These diagnostic tests identify and report problems with your physical network or transport layers and suggest remedial action.

For a full description of the netdiag command along with all available options, see the na_netdiag(1) man page.

You can use the ping command to test whether your storage system can reach other hosts on your network.

For a full description of the ping command, see the na_ping(1) man page.

You can use the pktt command to trace the packets sent and received in the storage system's network.

For a full description of the pktt command, see the na_pktt(1) man page.

To reach IPv6 hosts, you can use the ping6 command. Starting with Data ONTAP 7.3.3, you can use the ping command for reaching IPv6 hosts. You can use the ping6 and ping commands with all types of IPv6 addresses.

The -d option in the ping6 command specifies the number of data bytes to be sent. In addition, you might need to specify the -b option to extend the socket buffer size.

You must use the -b option with the ping6 command when pinging hosts with jumbo frames. For the pinging to succeed with jumbo frames, the buffer must be large enough to reassemble IP fragments.

For example, when pinging an IPv6 address with an 8900 byte payload and specifying a 9000 byte buffer, you should use the following command: ping6 -d 8900 -b 9000 2001:0db8::99

In the previous example, setting the buffer size to 8901 or 8902 bytes might not be adequate and might cause the ping6 command to fail. Increasing the buffer size to 10000 allows the ping to succeed in both directions.

You can use the ndp command to control the address mapping table used by Neighbor Discovery Protocol (NDP).

For a full description of the ndp command, see the na_ndp(1) man page.

You can use the traceroute6 command to trace the route that the IPv6 packets take to a network node.

For a full description of the traceroute6 command, see the na_traceroute6(1) man page.

Related reference
Error codes for the netdiag command