Manual Pages


Table of Contents

NAME

netdiag - Performs 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
Prints only a summary of the results of the various checks and tests performed.

-v
Verbose output. Prints a description of the various checks and subtests as they are performed.

-d
Debug output. Prints 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
Prints error codes. Prints a numeric error code with each message. This is useful when using netdiag in consultation with NetApp personnel.

-p
Performs diagnostic checks and tests for the interface layer (that is, the various NIC device drivers).

-I interface
Performs 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
Performs diagnostic checks and tests for the network layer (that is, IP).

-t
Performs diagnostic checks and tests for the transport layer (that is, TCP and UDP).

-a
Performs 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