Using Sql Commands; Getting Started; Figure 69 The Sql Command And Sql Help - RuggedCom RuggedSwitch RS1600 User Manual

Ruggedcom hub/switch user guide
Hide thumbs Also See for RuggedSwitch RS1600:
Table of Contents

Advertisement

Using SQL Commands

The RuggedSwitch™ provides an "SQL like" command facility that allows expert
users to perform several operations not possible under the user interface, namely:
• 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 switches from a central location.

Getting Started

SQL information is obtainable through the CLI shell "sql" command.
>sql
The SQL command provides an 'sql like' interface for manipulating all system
configuration and status parameters. Entering 'SQL HELP command-name' displays
detailed help for a specific command. Commands, clauses, table, and column
names are all case insensitive.
DEFAULT
DELETE
HELP
INFO
INSERT
SAVE
SELECT
UPDATE

Figure 69 The sql command and SQL help

RuggedCom
Chapter 11 – Upgrading Firmware And Managing Configurations
Sets all records in a table(s) to factory defaults.
Allows for records to be deleted from a table.
Provides help for any SQL command or clause.
Displays a variety of information about the tables in the database
Allows for new records to be inserted into a table.
Saves the database to non-volatile memory storage.
Queries the database and displays selected records.
Allows for existing records in a table to be updated.
103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents