Using the HP DTC Manager/UX

154
Using dtcdiag
13
Running loopback tests
The following commands and options can be used to perform loopback tests.
dtcdiag -i
[
count
]
or
dtctest -i
[
count
]
Performs an internal loopback test on the selected ports
count
times.
Count
must be between 1 and 999 and defaults to 1.
dtcdiag -h
[
count
]
or
dtctest -h
[
count
]
Tests the data path through a DTC 48 (or a DTC 16) to the serial port and through
the serial port connector. A loopback hood must be attached to the port. This option
does not apply to other DTC types.
Count
must be between 1 and 999 and defaults to 1.
dtcdiag -p
[
count
]
or
dtctest -p
[
count
]
Performs a printer loopback test on the selected ports
count
times. A printer must
be attached to the port.
Count
must be between 1 and 999 and defaults to 1.
dtcdiag -t
[
count
]
or
dtctest -t
[
count
]
Performs an terminal loopback test on the selected port
count
times. A terminal
must be attached to the port.
Count
must be between 1 and 999 and defaults to 1.
Example
To perform an internal loopback test 20 times on port 1 of board 0 of dtc3.
dtcdiag -i 20 dtc3 0 1
Getting the status of a DTC LAN board or a Port
dtcdiag -s
or
dtcstat
Obtains the status of the selected
objects
and lists it to the standard output and to a
file called dtcname.LAN. or dtcname.PRab (in the /var/opt/dtcmgr/status
directory) where a is the number of the board on which a port is being uploaded and
b is the number of the port being uploaded.
Only CPU/LAN boards, LAN boards, or ports can be selected for this task.