Once a new listening port number is configured, the FTP server interrupts all existing FTP
connections and begins to use the new listening port.
----End
6.3.4 Enabling the FTP Server
You must enable an FTP sever on the router before using FTP to manage files.
Context
The FTP server is disabled by default on the router. It must be enabled before FTP can be used.
Do as follows on the router that serves as the FTP server:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ftp server enable
The FTP server is enabled.
NOTE
When file operations between clients and the router are complete, run the undo ftp server command to
disable the FTP server function. This protects router security.
----End
6.3.5 (Optional) Configuring the FTP Server Parameters
FTP server parameters include the FTP server source address and the timeout period for FTP
connections.
Context
l You can configure a source IP address for the FTP server. The FTP client can only access
this address and this protects system security.
l You can configure the timeout period for FTP connections on the FTP server. When the
timeout period for an FTP connection expires, the system terminates the connection to
release resources.
Do as follows on the router that serves as the FTP server:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
Huawei AR1200 Series Enterprise Routers
Configuration Guide - Basic Configuration 6 Managing the File System
Issue 04 (2012-05-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
112