12-8
Configuration procedure
If the available memory space of the device is not enough, use the
fixdisk
command to clear the
memory or use the
delete
/unreserved
file
-
url
command to delete the files not in use and then perform
the following operations.
# Log in to the server through FTP.
<Sysname> ftp 10.1.1.1
Trying 10.1.1.1 ...
Connected to 10.1.1.1.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(10.1.1.1:(none)):abc
331 Give me your password, please
Password:
230 Logged in successfully
# Set the file transmission mode to binary to transmit startup file.
[ftp] binary
200 Type set to I.
# Download the startup file
newest.bin
from PC to the device.
z
Download the startup file
newest.bin
from PC to the root directory of the storage medium on the
master.
[ftp] get newest.bin
z
Download the startup file
newest.bin
from PC to the root directory of the storage medium of a
slave (with member ID of 2).
[ftp] get newest.bin slot2#flash:/newest.bin
# Upload the configuration file
config.cfg
of the device to the server for backup.
[ftp] ascii
[ftp] put config.cfg back-config.cfg
227 Entering Passive Mode (10,1,1,1,4,2).
125 ASCII mode data connection already open, transfer starting for /config.cfg.
226 Transfer complete.
FTP: 3494 byte(s) sent in 5.646 second(s), 618.00 byte(s)/sec.
[ftp] bye
# Specify
newest.bin
as the main startup file to be used at the next startup for all the member devices.
<Sysname> boot-loader file newest.bin slot all main
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 1!
The specified file will be used as the main boot file at the next reboot on slot 2!
# Reboot the device, and the startup file is updated at the system reboot.