94
Global Mode
tftp-server enable
no tftp-server enable
Start TFTP server, the “
no ftp-server enable
”
command shuts down TFTP server and
prevents TFTP user from logging in.
(
2
)
Modify TFTP server connection idle time
Command Explanation
Global Mode
tftp-server
retransmission-number <
number >
Set maximum retransmission time within
timeout interval.
(
3
)
Modify TFTP server connection retransmission time
Command Explanation
Global Mode
tftp-server
retransmission-number <
number >
Set maximum retransmission time within
timeout interval.
2.5.3.2.2 Command For Switch Upgrade
2.5.3.2.2.1 copy
(
FTP
)
Command: copy <source-url> <destination-url> [ascii | binary]
Function:
Download files to the FTP client.
Parameter:<source-url>
is the location of the source files or directories to be
copied;
<destination-url>
is the destination address to which the files or directories to be
copied;forms of
<source-url>
and
<destination-url>
vary depending on different
locations of the files or directories.
ascii
indicates the ASCII standard will be
adopted;
binary
indicates that the binary system will be adopted in the file transmission
(
default transmission method
)
.When URL represents an FTP address, its form should
be:
ftp://<username>:<password>@{<ipaddress>|<ipv6address>|<hostname> }/<file
name>
,amongst
<username>
is the FTP user name,
<password>
is the FTP user
password,
<ipaddress>|<ipv6address>
is the IPv4 or IPv6 address of the FTP
server/client,
<hostname>
is the name of the host mapping with the IPv6 address,it does
not support the file download and upload with hosts mapping with IPv4
addresses,
<filename>
is the name of the FTP upload/download file.
Special keywords of the filename
Keywords
Source or destination addresses