Switch 7700 Command reference Guide, v2.0

Table Of Contents
FTP Server Configuration Commands 417
View
System view
Parameter
minute: Connection timeouts (measured in minutes), ranging from 1 to 35791;
The default connection timeout time is 30 minutes.
Description
Using the ftp timeout command, you can configure connection timeout
interval. Using the
undo ftp timeout command, you can restore the default
connection timeout interval.
After a user logs on to an FTP Server and has established connection, if the
connection is interrupted or cut abnormally by the user, FTP Server will still hold
the connection. The connection timeout can avoid this problem. If the FTP server
has no command interaction with a client for a specific period of time, it considers
the connection to be failed and disconnect to the client.
Example
Set the connection timeout to 36 minutes.
[SW7700]ftp timeout 36
local-user Syntax
local-user user_name
undo local-user { user_name | all [service-type { telnet | ftp |
lan-access }]}
View
System view
Parameter
user_name: Enter a local user name, up to 32 characters in length. (The @
character can be used once in a
user_name; that part of the user name which
precedes the @ symbol must not be more than 24 characters in length.
service-type: Specifies the service type, which can be one of the following:
telnet: Specifies the user type of Telnet.
ftp: Specifies the user type of FTP.
lan-access: Specifies the user type of LAN access, which mainly refers to
Ethernet-accessing users.
all: Specifies all users.
Description
Using the local-user command, you can configure a local user and enter the
local user view.
Using the undo local-user command, you can cancel a specified local user, a
type of user or all users. By default, a local user is not configured.