Debug Using Selftest; Sundiag; Editing .Usertest File - Sun Microsystems SunFastEthernet Adapte User Manual

Sun microsystems user's guide sunfast ethernet adapter
Table of Contents

Advertisement

C
C.1.2 Debug using Selftest
C.2 Sundiag
C.2.1 Editing .usertest File
C-6
For debuging under selftest refer to "Writing FCode Programs, Revision A,
November 1993" (Sun Part Number 801-5123-10).
Sundiag is an on-line system exerciser that runs diagnostic hardware tests. It is
used primarily with the OpenWindows software interface that enables you to
quickly and easily set test parameters to run tests.
Note – Sundiag does not probe for SunFastEthernet devices by default, for
Sundiag to acknowledge a beX channel the .usertest file must be edited before
bringing up Sundiag as described in the following section.
1. Login as superuser and then type the following:
zardoz# cd /opt/SUNWdiag/bin
2. Edit the file .usertest by adding the following line wherein the format is
test label, test name, and command-line arguments.
The example given is for a single be0 interface; for multiple channels add an
additional line for each channel using be1, be2 etc.:
be0, nettest, IF=be0 v
Because testing the SunFastEthernet card is user defined, default options are
not displayed in Sundiag. Test options for a beX channel can be defined in
the .usertest file using the command nettest. Type the command nettest
without arguements for a list of options, for example:
zardoz# nettest
Usage: nettest [TARGET=h1+h2...] [IF=interface] {TEST=0..7}
N=nopkts} {P=pattern} [T=seconds]
SunFastEthernet Adapter User Guide—November 1994

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sunfastethernet adapter

Table of Contents