![Huawei AR2200 Series Скачать руководство пользователя страница 104](http://html.mh-extra.com/html/huawei/ar2200-series/ar2200-series_configuration-manual_169296104.webp)
The system view is displayed.
Step 2
Run:
ftp server-source
{
-a ip-address
|
-i
interface-type interface-number
}
The source IP address and source interface of an FTP server is configured.
To log in to the FTP server, you must specify the same source IP address in the
ftp
command.
Otherwise, you cannot log in to the FTP server.
Step 3
Run:
ftp
timeout
minutes
The timeout period of the FTP server is configured.
If the client is idle for the configured time, the connection is removed from the FTP server.
By default, the timeout value is 30 minutes.
----End
6.3.6 (Optional) Configuring an FTP ACL
After an FTP ACL is configured, only the specified clients can access the devicerouter.
Context
When the routerdevice functions as an FTP server, you can configure an ACL to allow the clients
that meet the matching rules to access the FTP server.
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:
acl
acl-number
The ACL view is displayed.
Step 3
Run:
rule
[
rule-id
] {
deny
|
permit
} [ {
fragment
|
none-first-fragment
} |
source
{
source-address source-wildcard
|
any
} |
time-range
time-name
|
vpn-instance
vpn-
instance-name
]
*
The ACL rule is configured.
NOTE
FTP supports only the basic ACL.
Step 4
Run:
quit
Return the 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.
93