Configuration Guide FTP Server Configuration
and ftp-server password commands in the global configuration mode. Only one user name
and password can be configured on the FTP Server.
Ruijie(config)# ftp-server username
username
Ruijie(config)# no ftp-server username
Removes the user name configuration.
Ruijie(config)# ftp-server password [type]
password
Ruijie(config)# no ftp-server password
Removes the password configuration.
A user name consists of up to 64 characters, including English letter, half-width numeral and
half-width symbol, not blank space.
A password consists of letters or numerals. Blank space is allowed behind and in front of the
password, but it will be ignored. The length of a password in plain text mode ranges from 1 to
25 characters and a password in cipher text mode ranges from 4 to 52 characters.
The following example sets the user name to “admin” and password to ”letmein”.
Ruijie(config)# ftp-server username admin
Ruijie(config)# ftp-server password letmein
View Status and Debugging Information
To view status and debugging information, run the show ftp-server and debug ftpserver
command in the privileged EXEC configuration mode.
Shows the status of the FTP Server.
Turns on the debugging of the FTP Server.
Ruijie# no debug ftpserver
Turns off the debugging of the FTP Server.
The following example shows the status information of the FTP Server:
Ruijie# show ftp-server
ftp-server information
=======================================
enable : Y
topdir : /
timeout: 20min
username config : Y
password config : Y
type: BINARY
control connect : Y
ftp-server: ip=192.167.201.245 port=21
ftp-client: ip=192.167.201.82 port=4978