Digi TransPort WR11 User Manual page 497

Hide thumbs Also See for TransPort WR11:
Table of Contents

Advertisement

Configuring Virtual Private Networking (VPN)
Connect to the SQL server and database
sql con <host > <user > <pwd> <dat abase>
For example:
sql con 192. 168. 0. 50 sql user sql pass er out e- db
Issue transact SQL statements
sql do <" cm d" >
For example:
sql do " sel ect * f r om si t e wher e subnet =' 10. 110. 100. 0' l i m i t 3"
Limit the sqldo command to only act on specified fields
sql f i el ds " <f i el d1> <f i el d2> <f i el d3>"
After issuing the sqlfields command, all further sqldo commands will apply to these fields only.
For example:
sql f i el ds " r em m sk passwor d peer i p"
Close the SQL server connection correctly
sql cl ose
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:
n
sql 0 debug_opt s 3
To view the debug data via the ASY 0 port:
n
debug 0
To view the SQL debug data via Telnet:
n
debug t
To disable the SQL debug:
n
>sql 0 debug_opt s 0
debug of f
Digi TransPort® Routers User Guide
Configure Internet Protocol security (IPsec)
497

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents