HP Security Modules Software Upgrade Guide-6PW103

31
[ftp]
Step4 Upgrade applications.
Using FTP, you can download application files from the FTP server to overwrite existing application files
on the Security module to implement application upgrade. The upgraded application files take effect at
the next boot.
# Download the main.bin file from the FTP server to the Security module.
[ftp] get main.bin main.bin
cfa0:/main.bin has been existing. Overwrite it? [Y/N]:y
227 Entering passive mode (192,168,80,200,5,33)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 10867848 byte(s) received in 472.515 second(s), 23.00K byte(s)/sec
NOTE:
When you download an application file, if the file name already exists on the Security module, you will
be prompted whether to overwrite the existing file. You need to enter Y or N to make a confirmation.
You can upgrade configuration files in the way you upgrade application files. You can use a text editor
to modify a configuration file. You can download the modified configuration file to the Security module
and the modified configuration file takes effect at the next boot.
If you want the Security module to use the downloaded file, you need to specify the file for the next boot.
For related information, see “Specifying Files”.
Step5 Back up application files.
Using FTP, you can upload application files from the Security module to the FTP server for the backup
purpose.
# Upload the main.bin file from the Security module to the FTP server and save it as main.bin.
[ftp] put main.bin main.bin
227 Entering passive mode (192,168,80,200,5,34)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 10867848 byte(s) sent in 172.505 second(s), 63.00Kbyte(s)/sec
[ftp] quit
221 Service closing control connection
NOTE:
When you back up an application file, if the file name already exists on the FTP server, the existin
g
file
will directly be overwritten.
You can back up configuration files in the way you back up application files.
The Security module serving as the FTP server and the PC serving as the FTP client
Step1 Set up an upgrade environment.
Connect the PC to an Ethernet interface (for example, GigabitEthernet 0/1) on the Security module and
ensure the connectivity between them.
Use a crossover Ethernet cable to connect Ethernet interface GigabitEthernet 0/1 on the Security
module to the PC.