12-9
<Sysname> reboot
The startup file used for the next startup must be saved under the root directory of the storage medium.
You can copy or move a file to the root directory of the storage medium. For the details of the
boot-loader
command, refer to
Device Management Commands
in the
System Volume
.
Configuring the FTP Server
Configuring FTP Server Operating Parameters
The FTP server uses one of the two modes to update a file when you upload the file (use the
put
command) to the FTP server:
z
In fast mode, the FTP server starts writing data to the storage medium after a file is transferred to
the memory. This prevents the existing file on the FTP server from being corrupted in the event
that anomaly, power failure for example, occurs during a file transfer.
z
In normal mode, the FTP server writes data to the storage medium while receiving data. This
means that any anomaly, power failure for example, during file transfer might result in file
corruption on the FTP server. This mode, however, consumes less memory space than the fast
mode.
Follow these steps to configure the FTP server:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the FTP server
ftp server enable
Required
Disabled by default.
Control the access to the
device from FTP clients
through ACL
ftp server acl
acl-number
Optional
By default, the access to the
device from FTP clients is not
controlled.
Configure the idle-timeout
timer
ftp
timeout minutes
Optional
30 minutes by default.
Within the idle-timeout time, if
there is no information
interaction between the FTP
server and client, the
connection between them is
terminated.
Set the file update mode for the
FTP server
ftp update
{
fast
|
normal
}
Optional
Normal update is used by
default.
Quit to user view
quit
—