Digi TransPort WR31 User Manual page 432

Hide thumbs Also See for TransPort WR31:
Table of Contents

Advertisement

Configure Virtual Private Networking (VPN)
smem command: Display memory information
smem
Displays the amount of memory allocated, in use and available for use by the MySQL server on the
router.
Transact SQL commands
To query a SQL database manually using transact SQL statements, use the following commands:
Connect to the SQL server and database
sqlcon <host> <user> <pwd> <database>
For example:
sqlcon 192.168.0.50 sqluser sqlpass eroute-db
Issue transact SQL statements
sqldo <"cmd">
For example:
sqldo "select * from site where subnet='10.110.100.0' limit 3"
Limit the sqldo command to only act on specified fields
sqlfields "<field1> <field2> <field3>"
After issuing the sqlfields command, all further sqldo commands will apply to these fields only.
For example:
sqlfields "remmsk password peerip"
Close the SQL server connection correctly
sqlclose
Use the SQL "debug" command
If the database being queried is held locally on the router, you can precede these transact SQL
commands with the SQL debug command to get extra feedback on any commands issued.
To enable the SQL debug:
sql 0 debug_opts 3
To view the debug data via the ASY 0 port:
debug 0
To view the debug data via telnet:
debug t
To disable the SQL debug:
sql 0 debug_opts 0
debug off
Digi TransPort WR Routers User Guide
IPsec parameters
432

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents