EasyManua.ls Logo

Digi TransPort WR31 - Page 431

Digi TransPort WR31
866 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configure Virtual Private Networking (VPN) IPsec parameters
Digi TransPort WR Routers User Guide 431
Learning mode: saving entries
When using learning mode, the dynamic backup database is stored in RAM. This database is lost if
the router is power-cycled. You can save the database in RAM to flash to over-write the dbfile with
the one in RAM that includes the learned entries or it can be saved to a new file.
To save the dbfile to flash from RAM, use the following command:
sqlsave 0 <filename>
Where <filename> is the name of the destination file.
For example, to save the learned database entries to a file called backup.csv:
sqlsave 0 backup.csv
If there are no learned entries, this command will not create a file. To view the number to learned
entries, use the command sql 0 ?, and in the output, see the section headed Learning info:
Learning info.
items learned:0
matched retrievals:0
OK
Configure a TransPort to use a backup database
Once the router has been configured to run a SQL csv database locally, you can use this backup csv
database if the main SQL database goes offline. Required configuration parameters are:
1 Configure the IP address of the SQL server to use.
egroup 0 dbhost "192.168.0.50"
2 Configure the IP address of the SQL server that will have a backup database. If a socket
connection fails to this IP address, the router will use the backup IP address.
ipbu 0 IPaddr "192.168.0.50"
3 Configure the backup database IP address; that is, the loopback address of the router or an
alternative SQL server, this example shows the loopback IP address of the router.
ipbu 0 BUIPaddr "127.0.0.1"
4 Set the amount of time in seconds that the connection to the main SQL server will be retried.
ipbu 0 retrysec 30
5 Set the router to use the backup IP address if the main database is unavailable.
ipbu 0 donext ON
For example, to configure and use a local backup database when the main SQL database at
192.168.0.50 is offline, the configuration may look similar to this:
egroup 0 dbhost "192.168.0.50"
sql 0 dbsrvmem 200
sql 0 dbfile "sardb.csv"
sql 0 dbname "sarvpns"
sql 0 learn ON
sqlsave 0 backup.csv
ipbu 0 IPaddr "192.168.0.50"
ipbu 0 BUIPaddr "127.0.0.1"
ipbu 0 retrysec 30
ipbu 0 donext ON

Table of Contents

Other manuals for Digi TransPort WR31

Related product manuals