3com 3031 Instruccion De Instalación
54
C
HAPTER
6: F
ILE
M
ANAGEMENT
■
Display and debug the FTP server
Startup
Only after the FTP server function is enabled can the FTP client login the server and
access the files on the router.
access the files on the router.
Perform the following in the System View.
The FTP server can support multiple user accesses simultaneously. When a remote
FTP user sends a request to the FTP server, the server will execute corresponding
actions and return the results of the execution to the user.
FTP user sends a request to the FTP server, the server will execute corresponding
actions and return the results of the execution to the user.
Configuring the
Authentication and
Authorization
The authorizing information of the FTP server includes the operating directory path
provided for the FTP user. Only those who have passed the authentication and
been authorized successfully can gain the service of the FTP server. Before a user
can use the FTP service, you must configure the user type and FTP operating
directory on the router.
provided for the FTP user. Only those who have passed the authentication and
been authorized successfully can gain the service of the FTP server. Before a user
can use the FTP service, you must configure the user type and FTP operating
directory on the router.
Below is an example of configuring the authentication and authorization of the
FTP server.
FTP server.
For example, configure the authentication and authorization information of the
FTP users.
FTP users.
[3Com]local-user 3Com
[3Com]local-user 3Com service-type ftp
[3Com]local-user 3Com password simple 3Com
this sets the name of a FTP user to 3Com with the password 3Com (in plain text).
Configuring Operating
Parameters
Configuring the updating mode of FTP server
The FTP server updates the data of files in its flash memory in two modes: normal
and fast, when receiving files transferred by the user using the FTP command PUT.
Each of two modes is demonstrated respectively as follows:
and fast, when receiving files transferred by the user using the FTP command PUT.
Each of two modes is demonstrated respectively as follows:
Fast:
The FTP server writes the data to the flash memory after the completion of
the file transfer. This can safeguard that the files in the flash memory of the Router
will not be damaged even at abnormal occasions such as power failure.
will not be damaged even at abnormal occasions such as power failure.
Table 43 Starting up the FTP server
Operation
Command
Start up the FTP server
ftp server enable
Shut down the FTP server
undo ftp server
Table 44 Configuring the Authentication and Authorization
Operation
Command
Add local username and
authentication password
authentication password
local-user local-user password { simple
| cipher } password
| cipher } password
Authorize the user to use FTP
local-user username service-type ftp
Set the initial directory that the user
can use
can use
local-user local-user ftp-directory
directory
directory
Remove the FTP user
undo user username