Chapter 2
Using ROS
RUGGEDCOM RSG2488
User Guide
34 Available CLI Commands
Command Description
route Displays the gateway configuration.
sfp port { base | alarms | diag |
calibr | thr | all | no parameter
specified }
Displays SFP (Small Form Factor Pluggable) device information and diagnostics. If Optional
and/or required parameters are not used, this command displays the base and extended
information.
Optional and/or required parameters include:
• port is the port number for which the data are required
• base displays the base information
• alarms displays alarms and warning flags
• diag displays measured data
• calibr displays calibration data for external calibration
• thr displays thresholds data
• all displays all diagnostic data
sql { default | delete | help |
info | insert | save | select |
update }
Provides an SQL-like interface for manipulating all system configuration and status
parameters. All commands, clauses, table, and column names are case insensitive.
Optional and/or required parameters include:
• default sets all records in a table(s) to factory defaults
• delete allows for records to be deleted from a table
• help provides a brief description for any SQL command or clause
• info displays a variety of information about the tables in the database
• insert enables new records to be inserted into a table
• save saves the database to non-volatile memory storage
• select queries the dtabase and displays selected records
• update enable existing records in a table to be updated
For more information about the sql command, refer to Section 2.6.4, “Using SQL
Commands”.
sshkeygen size
Generates new SSH keys in ssh.keys.
Optional and/or required parameters include:
• size is the number of bits in length between 512 and 2048. The default is 1024 bits.
sslkeygen size
Generates a new SSL certificate in ssl.crt.
Optional and/or required parameters include:
• size is the number of bits in length between 512 and 2048. The default is 1024 bits.
telnet dest
Opens a telnet session. Press Ctrl-C to close the session.
Optional and/or required parameters include:
• dest is the server's IP address
tftp { dest | cmd | fsource |
fdest }
Opens a TFTP session. Press Ctrl-C to close the session.
Optional and/or required parameters include:
• dest is the remote TFTP server's IP address
• cmd is either put (upload) or get (download)
• fsource is the source filename
• fdest is the destination filename
trace Starts event tracing. Run trace ? for more help.
type filename
Displays the contents of a text file.
Optional and/or required parameters include:
• filename is the name of the file to be read
version Prints the software version.