H3C Technologies H3C S5120 Series Switches User Manual

Page 548

Advertising
background image

1-10

[ftp] get auto-update.txt

# Download file new-config.cfg on the FTP server.

[ftp]get new-config.cfg

# Download file soft-version2.bin on the FTP server.

[ftp] binary

[ftp] get soft-version2.bin

[ftp] bye

<Device>

# Modify the extension of file auto-update.txt as .bat.

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

To ensure correctness of the file, you can use the more command to view the content of the file.

# Execute the scheduled automatic execution function to enable the device to be automatically

upgraded at 3 am.

<Device> schedule job at 03:00 view system execute auto-update.bat

Info: Command execute auto-update.bat in system view will be executed at 03:00 12/11/2007(in

12 hours and 0 minutes).

After the device reboots, use the display version command to check if the upgrade is successful.

Advertising