446 CHAPTER 22: FILE SYSTEM MANAGEMENT
Displaying and
Debugging FTP Server
After the above configuration, execute display command in all views to display the
running of the FTP Server configuration, and to verify the effect of the configuration.
Table490 Display and Debug FTP Server
The display ftp-server command can be used for displaying the configuration
information about the current FTP server, including the maximum amount of users
supported by the FTP server and the FTP connection timeout. The display ftp-user
command can be used for displaying the detailed information about the connected
FTP u ser s.
Displaying the Source IP
Address Configuration
Use the display commands in any view to display the source IP address configuration
for service packets.
Introduction to FTP
Client
As an additional function provided by the Switch, FTP client is an application module
and has no configuration functions. The Switch connects the FTP clients and the
remote server and inputs the command from the clients for corresponding operations
(such as creating or deleting a directory).
Configuring Source IP Address for TFTP Service Packets
You can configure source IP address or source interface for the TFTP server and TFTP
client, to enhance service manageability.
Table492 shows the source IP address configuration tasks.
If the ip-addr in the command is not an address of the device, your configuration fails.
If you specify a non-existent interface in the command, your configuration fails.
Operation Command
Display FTP server display ftp-server
Display the connected FTP users. display ftp-user
Table491 Display the source IP address FTP Server and Client
Operation Command
Display the source IP address of the FTP server display ftp-server source-ip
Display the source IP address of the FTP client display ftp source-ip
Table492 Configure source IP address for service packets
Operation Command Remarks
Enter system view system-view -
Use a specified source IP address to
establish a connection with a TFTP
server
tftp tftp-server source-ip ip-addr Optional
Use a specified source interface to
establish a connection with a TFTP
server
tftp tftp-server source-interface
interface-type interface-number
Optional
Specify source IP address for the TFTP
client
tftp source-ip ip-addr Optional