Chapter 2
Using ROS
RUGGEDCOM ROS
User Guide
36
Executing Commands Remotely via RSH
•
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 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
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:
• Restoring the contents of a specific table, but not the whole configuration, to their factory defaults.
• Search tables in the database for specific configurations.
• Make changes to tables predicated upon existing configurations.
When combined with RSH, SQL commands provide a means to query and configure large numbers of devices
from a central location.
NOTE
For a list of parameters available under the
sql