Sun Quad FastEthernet SBus Adapter Installation and User's Guide

Editing the .usertest File

  1. Log into the system as root (superuser) and change directories to the SunDiag bin directory:


    # cd /opt/SUNWdiag/bin
    

  2. Using a text editor, add the following line to the .usertest file.


    qfe0, nettest, IF=qfe0 v
    


    Note -

    The format for .usertest entries is test label, test name, and command-line arguments.


The example given is for a single qfe0 interface; for multiple channels add an additional line for each channel using qfe1, qfe2, etc.

Because testing the Sun Quad FastEthernet SBus adapter is user defined, default options are not displayed in SunDiag interface. Test options for a qfe<num> channel can be defined in the .usertest file using the command nettest. Type the command nettest without arguments for a list of options, for example:


# nettest
Usage: nettest [TARGET=h1+h2...] 
[IF=interface] {TEST=0..7} N=nopkts} {P=pattern} [T=seconds]