RUGGEDCOM ROS
User Guide
Chapter 2
Using ROS
Finding the Correct Table
41
• 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
command, refer to
.
NOTE
Read/write access to tables containing passwords or shared secrets is unavailable using SQL
commands.
CONTENTS
•
Section 2.6.4.1, “Finding the Correct Table”
•
Section 2.6.4.2, “Retrieving Information”
•
Section 2.6.4.3, “Changing Values in a Table”
•
Section 2.6.4.4, “Resetting a Table”
•
Section 2.6.4.5, “Using RSH and SQL”
Section 2.6.4.1
Finding the Correct Table
Many SQL commands operate upon specific tables in the database, and require the table name to be specified.
Navigating the menu system in the console interface to the desired menu and pressing
Ctrl-Z
displays the name of
the table. The menu name and the corresponding database table name will be cited.
Another way to find a table name is to type the following in the CLI:
sql
info tables
This command also displays menu names and their corresponding database table names depending upon the
features supported by the device. For example:
Table Description
-------------------------------------------------------------------------------
alarms Alarms
cpuDiags CPU Diagnostics
ethPortCfg Port Parameters
ethPortStats Ethernet Statistics
ethPortStatus Port Status
ipCfg IP Services
Section 2.6.4.2
Retrieving Information
The following describes various methods for retrieving information about tables and parameters.