Chapter 50 File Manager
Table 163 File Manager Commands Summary (continued)
COMMAND
show running-config
setenv-startup stop-on-error off
show setenv-startup
write
50.5 File Manager Command Examples
This example saves a back up of the current configuration before applying a shell script file.
Router(config)# copy running-config /conf/backup.conf
Router(config)# run /script/vpn_setup.zysh
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.
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)#
50.6 FTP File Transfer
You can use FTP to transfer files to and from the UAG for advanced maintenance and support.
50.6.1 Command Line FTP File Upload
Connect to the UAG.
1
Enter "bin" to set the transfer mode to binary.
2
You can upload the firmware after you log in through FTP. To upload other files, use "cd" to change
3
to the corresponding directory.
Use "put" to transfer files from the computer to the UAG.
4
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.
264
DESCRIPTION
Displays the settings of the configuration file that the system is using.
Has the UAG ignore any errors in the startup-config.conf file and apply all
of the valid commands.
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.
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
will be lost when the UAG restarts.
command, the changes
write
1
For example:
UAG CLI Reference Guide