
107
TFTP commands
The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for
features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more
information about FIPS mode, see
Security Configuration Guide
.
TFTP is not supported in FIPS mode.
tftp
Use
tftp
to download a file from a TFTP server or upload a file to a TFTP server in an IPv4 network.
Syntax
tftp tftp-server
{
get
|
put
|
sget
}
source-filename
[
destination-filename
] [
vpn-instance
vpn-instance-name
] [
dscp
dscp-value
|
source
{
interface
interface-type interface-number
|
ip
source-ip-address
} ] *
Views
User view
Predefined user roles
network-admin
Parameters
tftp-server
: Specifies the IPv4 address or host name of a TFTP server. The host name can be a
case-insensitive string of 1 to 253 characters and can contain only letters, digits, hyphens (-),
underscores (_), and dots (.).
get
: Downloads a file and writes the file directly to the destination file. If the destination file already
exists, the system deletes the existing file before starting the download operation. The existing file is
permanently deleted even if the download operation fails.
put
: Uploads a file.
sget
: Downloads a file and saves the file to memory before writing it to the destination file. The
system starts to write the downloaded file to the destination file only after the downloaded file is
saved to memory successfully. If the destination file already exists, the downloaded file overwrites
the existing file. If the download or save-to-memory operation fails, the existing file is not overwritten.
source-filename
: Specifies the source file name, a case-insensitive string of 1 to 1 to 255 characters.
destination-filename
: Specifies the destination file name, a case-insensitive string of 1 to 255
characters. If this argument is not specified, the file uses the source file name.
vpn-instance
vpn-instance-name
: Specifies the VPN instance to which the TFTP server belongs. The
vpn-instance-name
argument is a case-sensitive string of 1 to 31 characters. If the TFTP server
belongs to the public network, do not specify this option.
dscp
dscp-value
: Specifies the DSCP value for IPv4 to use for outgoing TFTP packets to indicate the
packet transmission priority. The value range is 0 to 63. The default is 0.
source
{
interface
interface-type interface-number
|
ip
source-ip-address
}: Specifies the source
address for outgoing TFTP packets. If you do not specify this option, the device uses the primary
IPv4 address of the output interface for the route to the TFTP server as the source address.
•
interface interface-type interface-number
: Specifies an interface by its type and number. The
device will use the interface's primary IPv4 address as the source IPv4 address. For successful
TFTP packet transmission, make sure the interface is up and has the primary IPv4 address
configured.
Содержание S5830V2 series
Страница 23: ...11 System View return to User View with Ctrl Z Sysname...
Страница 167: ...155 Related commands display startup...