Chapter 34 File Manager
UAG CLI Reference Guide
222
34.5 File Manager Command Examples
This example saves a back up of the current configuration before applying a shell script file.
These commands run the aaa.zysh script at noon every day, on the first day of every month, and
on every Monday, Wednesday, and Friday.
34.6 FTP File Transfer
You can use FTP to transfer files to and from the UAG for advanced maintenance and support.
34.6.1 Command Line FTP File Upload
1 Connect to the UAG.
2 Enter “bin” to set the transfer mode to binary.
3 You can upload the firmware after you log in through FTP. To upload other files, use “cd” to change
to the corresponding directory.
4 Use “put” to transfer files from the computer to the UAG.
1
For example:
In the conf directory, use "put config.conf today.conf” to upload the configuration file (config.conf)
to the UAG and rename it “today.conf”.
"put 1.00(XL.0).bin” transfers the firmware (1.00(XL.0).bin) to the UAG.
show running-config Displays the settings of the configuration file that the system is using.
setenv-startup stop-on-error off Has the UAG ignore any errors in the startup-config.conf file and apply all
of the valid commands.
show setenv-startup Displays whether or not the UAG is set to ignore any errors in the startup-
config.conf file and apply all of the valid commands.
write Saves your configuration changes to the flash (“non-volatile” or “long
term”) memory. The UAG immediately uses configuration changes made
via commands, but if you do not use the
write command, the changes
will be lost when the UAG restarts.
Table 129 File Manager Commands Summary (continued)
COMMAND DESCRIPTION
Router(config)# copy running-config /conf/backup.conf
Router(config)# run /script/vpn_setup.zysh
Router> configure terminal
Router(config)# schedule-run 1 aaa.zysh daily 12:00
Router(config)# schedule-run 1 aaa.zysh monthly 12:00 01
Router(config)# schedule-run 1 aaa.zysh weekly 12:00 mon wed fri
Router(config)#