logo
Manual Pages
Table of Contents

NAME

netdiag - perform network diagnostics

SYNOPSIS

netdiag [ -s|v|d ] [ -nbate ] [ -p [ -I interface ] ] netdiag -?

DESCRIPTION

The netdiag command analyzes the statistics continuously gathered by the network protocol code and (if required) performs various tests to ensure the sanity of operation of the protocol code. It displays the results of the analysis (and any tests performed) along with suggested remedial actions (if any problems are found). The netdiag command analyses almost all of the statistics displayed by the many forms of the netstat command for aberrant values. The first form presented allows the user to specify what subset(s) of the networking subsystem to address and what kind of output to produce. The various options that influence this command form are described in detail below. The second form displays the usage message.

OPTIONS

-s
Print only a summary of the results of the various checks and tests performed.
-v
Verbose output. Print a description of the various checks and subtests as they are performed.
-d
Debug output. Print a very detailed description of the various check and subtests as they are performed. This option is for use by the expert user, or someone who understands the various checks and tests that netdiag performs.
-b
Non-interactive usage. The command should not prompt for user input. This is useful when using netdiag from an automated script.
-e
Print error codes. Print a numeric error code with each message. This is useful when using netdiag in consultation with NetApp personnel.
-p
Perform diagnostic checks and tests for the interface layer (i.e. the various NIC device drivers).
-I interface
Perform diagnostic checks and tests only for the specified interface. The interface names that netdiag understands are the same as displayed by the ifconfig command. This option is meaningful only in conjunction with the -p option.
-n
Perform diagnostic checks and tests for the network layer (i.e. IP).
-t
Perform diagnostic checks and tests for the transport layer (i.e. TCP and UDP).
-a
Perform diagnostic checks and tests to verify the sanity of the overall network subsystem.

SEE ALSO

na_ifconfig(1), na_netstat(1), na_partner(1),
Table of Contents