![Huawei AR2200 Series Скачать руководство пользователя страница 103](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296103.webp)
The port number of the FTP server is configured.
If a new number of a monitored port is configured, the FTP server interrupts all the FTP
connections and monitors the port of the new number.
----End
6.3.4 Enabling the FTP Server
Before using FTP to perform file operations, you need to enable the FTP sever on the router.
Context
By default, the FTP server is disabled on the router. Therefore, you must enable the FTP server
before using FTP.
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 the file operation between clients and the router ends, run the
undo ftp
server
command to disable
the FTP server function. This ensures the security of the router.
----End
6.3.5 (Optional) Configuring the FTP Server Parameters
The FTP server parameters include the source address of the FTP server and the timeout period
for FTP connection.
Context
l
You can configure a source IP address for the FTP server. This limits the destination address
that the client can access and therefore guarantee the security.
l
You can configure the timeout period for FTP connections on the FTP server. When the
timeout period of an FTP connection expires, the system breaks the connection to release
resources.
Do as follows on the router that serves as the FTP server:
Procedure
Step 1
Run:
system-view
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
6 Managing File System
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
92