14: Command Reference
SecureLinx SLC User Guide
193
Description
Resolves a host name into an IP address. You can optionally email the displayed information.
diag loopback
Syntax
diag loopback <Device Port Number or Name>
[<parameters>]
Parameters
test <internal|
external
>
xferdatasize
<
Size In Kbytes to Transfer
>
Default is
1
Kbyte.
Description
Tests a device port by transmitting data out the port and verifying that it is received correctly.
A special loopback cable comes with the SLC. To test a device port, plug the cable into the
device port and run this command. The command sends the specified Kbytes to the device port
and reports success or failure. The test is performed at 9600 baud. Only an external test requires
a loopback cable.
diag traceroute
Syntax
diag traceroute <IP Address or Hostname>
Description
Displays the route that packets take to get to a network host:
End Device Commands
set command
Syntax
set command <Device Port # or Name or List> <one or more parameters>
Description
Sends commands to (or controls) a device connected to an SLC device port over the serial port.
Currently the only type of device supported for this type of interaction is the SLP.
Parameters
slp auth login <User Login>
Establishes the authentication information to log into the SLP attached to the device port.
slp envmon
Displays the environmental status (e.g., temperature and humidity) of the SLP.
slp outletcontrol state <on|off|cyclepower> [outlet <Outlet #>]
Outlet # is 1-8 for SLP8 and 1-16 for SLP16. The
outletcontrol
parameters control individual
outlets.
slp outletstate [outlet <Outlet #>]
Shows the state of all outlets or a single outlet.
slp restart
Issues the CLI command the SLP uses to restart itself.