
110
Usages guidelines
If you execute this command multiple times, the most recent configuration takes effect.
The source address specified with the
tftp
command takes precedence over the source address
specified with the
tftp
client
source
command.
The source address specified with the
tftp client source
command applies to all TFTP connections.
The source address specified with the
tftp
command applies only to the current TFTP connection.
Examples
# Specify the source IP address of 192.168.20.222 for outgoing TFTP packets.
<Sysname> system-view
[Sysname] tftp client source ip 192.168.20.222
Related commands
tftp
tftp ipv6
Use
tftp ipv6
to download a file from a TFTP server or upload a file to a TFTP server in an IPv6
network.
Syntax
tftp ipv6 tftp-server
[
-i
interface-type interface-number
] {
get
|
put
|
sget
}
source-filename
[
destination-filename
] [
vpn-instance
vpn-instance-name
] [
dscp
dscp-value
|
source
{
interface
interface-type interface-number
|
ipv6
source-ipv6-address
} ] *
Views
User view
Predefined user roles
network-admin
Parameters
tftp-server
: Specifies the IPv6 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 (.).
-i
interface-type interface-number
: Specifies an output interface by its type and number. This option
can be used only when the TFTP server address is a link local address and the specified output
interface has a link local address. For link local address configuration, see
Layer 3—IP Services
Configuration Guide
.
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-file
: Specifies the source file name, a case-insensitive string of 1 to 255 characters.
destination-file
: 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.
Содержание S5830V2 series
Страница 23: ...11 System View return to User View with Ctrl Z Sysname...
Страница 167: ...155 Related commands display startup...