
Operation Manual – File System Management
H3C S5500-EI Series Ethernet Switches
Chapter 2 FTP Configuration
2-10
II. Network diagram
Figure 2-3
Smooth upgrading using the FTP server
III. Configuration procedure
1)
Configure Device (FTP Server)
# Create an FTP user account
abc
, setting its password to
pwd
, and setting the priority
level to 3.
<Sysname> system-view
[Sysname] local-user abc
[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- - Dec 07 2005 10:00:57 filename
1 drw- - Jan 02 2006 14:27:51 logfile
2 -rw- 1216 Jan 02 2006 14:28:59 config.cfg
3 -rw- 1216 Jan 02 2006 16:27:26 back.cfg
4 drw- - Jan 02 2006 15:20:21 ftp
2540 KB total (2511 KB free)
<Sysname> delete /unreserved flash:/back.cfg
2)
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