Hotfix configuration example, Network requirements – H3C Technologies H3C SecPath F1000-E User Manual

Page 52

Advertising
background image

41

startup saved-configuration new-config.cfg

boot-loader file soft-version2.bin main

reboot

2.

Configure the SecPath firewall:
# Log in to the FTP server.

<SecPath> ftp 2.2.2.2

Trying 2.2.2.2 ...

Press CTRL+K to abort

Connected to 2.2.2.2.

220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user

User(2.2.2.2:(none)):aaa

331 Give me your password, please

Password:

230 Logged in successfully

[ftp]

# Download auto-update.txt from the FTP server.

[ftp] ascii

[ftp] get auto-update.txt

# Download the startup configuration file from the FTP server.

[ftp]get new-config.cfg

# Download the software upgrade file from the FTP server.

[ftp] binary

[ftp] get soft-version2.bin

[ftp] bye

<SecPath>

# Change the extension of auto-update.txt to .bat.

<SecPath> rename auto-update.txt auto-update.bat

# (Optional.) Execute the more command to verify the contents of the files. (Details now shown.)
# Schedule a task for the SecPath firewall to upgrade automatically at 3:00 am.

<SecPath> system-view

[SecPath] job autoupdate

[SecPath-job-autoupdate] view system-view

[SecPath-job-autoupdate] time 1 one-off at 03:00 command execute auto-update.bat

# To verify that the upgrade is successful, use the display version command after the firewall

reboots.

<SecPath> display version

Hotfix configuration example

Network requirements

As shown in

Figure 19

, download a patch file from a TFTP server to fix bugs on the firewall.

Advertising