Chapter 35 File Manager

Table 136 File Manager Commands Summary (continued)

COMMAND

DESCRIPTION

show running-config

Displays the settings of the configuration file that the

 

system is using.

setenv-startup stop-on-error off

Has the NXC ignore any errors in the startup-

 

config.conf file and apply all of the valid commands.

show setenv-startup

Displays whether or not the NXC 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 NXC immediately

 

uses configuration changes made via commands, but if

 

you do not use the write command, the changes will

 

be lost when the NXC restarts.

35.5 File Manager Command Example

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

35.6 FTP File Transfer

You can use FTP to transfer files to and from the NXC for advanced maintenance and support.

35.6.1 Command Line FTP File Upload

1Connect to the NXC.

2Enter “bin” to set the transfer mode to binary.

3You can upload the firmware after you log in through FTP. To upload other files, use “cd” to change to the corresponding directory.

4Use “put” to transfer files from the computer to the NXC.1 For example:

In the conf directory, use "put config.conf today.conf” to upload the configuration file (config.conf) to the NXC and rename it “today.conf”.

"put 1.00(XL.0).bin” transfers the firmware (1.00(XL.0).bin) to the NXC.

1.When you upload a custom signature, the NXC appends it to the existing custom signatures stored in the "custom.rules” file.

228

 

NXC CLI Reference Guide