Configure FTP 53

Table 29 Set the authentication mode of FTP server

 

 

 

 

Operation

Command

 

 

 

 

Start AAA server

aaa-enable

 

 

 

 

Disable AAA server

undo aaa-enable

 

 

 

 

Turn on the accounting selection switch

aaa accounting-scheme optional

 

 

 

 

Turn off the accounting selection switch

undo aaa accounting-scheme

 

 

optional

 

 

 

 

Set local authentication for PPP connection

aaa authentication-scheme login

 

 

default local

 

 

 

2Add FTP authorized user name and password Input the following command in system view.

Table 30 Add FTP authorized user name and password

Operation

Command

 

 

Add FTP authorized user name and

Local-user username service-type ftp

password

password {simple cipher } password

 

 

Delete FTP user

undo user username

 

 

For a detailed introduction to the above command, please refer to the chapter “AAA and RADIUS Configuration” in the Security section of this manual.

Start FTP Server

The FTP server can be started after configuring the authentication and authorization of the FTP server. The FTP server supports multi-user access simultaneously. The remote FTP user sends a request to the FTP server, which will execute a corresponding action and return the execution result to the user.

Enter the following commands in system view.

Table 31 Start FTP server

Operation

Command

 

 

Start FTP server

ftp-server enable

 

 

Disable FTP server

undo ftp-server

 

 

Configure Parameters of FTP Service

Configure FTP service parameters according to system running status, so as to make proper use of system resources.

1Set the file name on FTP server

Before the file is uploaded or downloaded, the name of the program/configuration file should be set on the router.

Please enter the following commands in system view.

Table 32 Set the file name on FTP server

Operation

Command

 

 

Set the program file name on FTP server

ftp-server system-name file-name

 

 

Set the configuration file name on FTP server

ftp-server config-name file-name

 

 

Page 57
Image 57
3Com 10014299 manual Start FTP Server, Enter the following commands in system view, Configure Parameters of FTP Service