CHAPTER:
SYSTEM VERSION AND DATABASE,
SECTION:
EXAMPLE OF EXPORTING DB AND LOGS
UM-G-iSG18GFP-4.5.06.1-EN.docx
© 2020 IS5 COMMUNICATIONS Inc. ALL RIGHTS RESERVED
5.5 Example of Exporting DB and Logs
The following flow will show how to export configuration and logs to a TFTP server.
1. Exporting configuration database (DB) to SFTP server
Command syntax:
iSG18GFP# startup-config export sftp://user:[email protected]/file_name.
Example:
iSG18GFP# startup-config export sftp://user:[email protected]/config_january13
2. Exporting logs base to SFTP server
Command syntax:
iSG18GFP# logs-export sftp://<user-name>:<pass-word>@ip-address/filename
Example:
iSG18GFP# logs-export sftp://user :[email protected]/logs_january13
5.6 Example of Exporting DB Files to Flash Drive
The following flow will show how to export configuration as a file to the local flash drive.
1. Exporting configuration data
iSG18GFP# startup-config export flash: db_march
iSG18GFP# startup-config show files
db_february
db_test
db_march
2. Activating DB file from flash
iSG18GFP# startup-config import flash: db_february
startup-config import Successful
Reload to use new db
iSG18GFP# reload
5.7 Example of Importing DB from TFTP
The following flow will show how to import configuration from a TFTP server.
1. Establish connectivity between the switch and the TFTP server
2. Start importing the target file
iSG18GFP# startup-config import tftp://172.18.212.231/IS5_ospf.cfg