998
C
80: FTP C
HAPTER
ONFIGURATION
n
c
[Sysname-luser-abc] password simple pwd
[Sysname-luser-abc] level 3
# Specify abc to use FTP, and authorize its access to certain directory.
[Sysname-luser-abc] service-type ftp
[Sysname-luser-abc] work-directory flash:/
[Sysname-luser-abc] quit
# Enable FTP server.
[Sysname] ftp server enable
[Sysname] quit
# Check files on your device. Remove those redundant to ensure adequate space
for the startup file to be uploaded.
<Sysname> dir
Directory of flash:/
0
drw-
1
drw-
2
-rw-
3
-rw-
4
drw-
2540 KB total (2511 KB free)
<Sysname> delete /unreserved flash:/back.cfg
1 Configure the PC (FTP Client)
# Upload the startup file to the FTP server and save it under the root directory of
the FTP server.
c:\> ftp 1.1.1.1
Connected to 1.1.1.1.
220 FTP service ready.
User(1.1.1.1:(none)):abc
331 Password required for abc.
Password:
230 User logged in.
ftp> put aaa.bin bbb.bin
When upgrading the configuration file with FTP, put the new file under the root
■
directory.
After you finish upgrading the Boot ROM program through FTP, you must
■
execute the bootrom upgrade command to refresh the system configuration.
# You can use the boot-loader command to specify the uploaded file as the main
startup file for next startup. Then restart the device and the startup file of the
device is updated.
<Sysname> boot-loader file bbb.bin main
<Sysname> reboot
CAUTION: Startup files for next startup must be saved under the root directory.
You can copy or move a file to change the path of it to the root directory. For
-
Dec 07 2005 10:00:57
-
Jan 02 2006 14:27:51
1216
Jan 02 2006 14:28:59
1216
Jan 02 2006 16:27:26
-
Jan 02 2006 15:20:21
filename
logfile
config.cfg
back.cfg
ftp