Chapter 2
Using ROS
RUGGEDCOM ROS
User Guide
40
Executing Commands Remotely via RSH
trace
protocol
?
NOTE
If required, expand the trace scope by stringing protocols and their associated options together
using a vertical bar (|).
3. Select the type of trace to run by typing:
trace
protocol
option
Where:
•
protocol
is the protocol to trace
•
option
is the option to use during the trace
Example:
>trace transport allon
TRANSPORT: Logging is enabled
4. Start the trace by typing:
trace
Section 2.6.3
Executing Commands Remotely via RSH
The Remote Shell (RSH) facility can be used from a workstation to cause the product to act upon commands as if
they were entered at the CLI prompt. The syntax of the RSH command is usually of the form:
rsh
ipaddr
–l
auth_token
command_string
Where:
•
ipaddr
is the address or resolved name of the device.
•
auth_token
is the user name (i.e. guest, operator or admin) and corresponding password separated by a
comma. For example,
admin,secret
.
•
command_string
is the RUGGEDCOM ROS CLI command to execute.
NOTE
The access level (corresponding to the user name) selected must support the given command.
NOTE
Any output from the command will be returned to the workstation submitting the command.
Commands that start interactive dialogs (such as
trace
) cannot be used.
Section 2.6.4
Using SQL Commands
RUGGEDCOM ROS provides an
SQL-like
command facility that allows expert users to perform several operations
not possible under the traditional Web or CLI interface. For instance: