Displaying and
Maintaining the TFTP
Client
TFTP Client
Configuration
Example
To do...
Configure the source address
of the TFTP client
Return to user view
Download or upload a file in
IPv4 network
Download or upload a file in
IPv6 network
n
If no primary IP address is configured on the source interface, TFTP connection
■
fails.
If you use the ftp client source command to first configure the source
■
interface and then the source IP address of the packets of the TFTP client, the
new source IP address will overwrite the current one, and vice versa.
To do...
Display the configuration of
the TFTP client
Network requirements
Use a PC as the TFTP server and your device as the TFTP client.
■
PC uses IP address 1.2.1.1./16 and a TFTP working directory has been defined
■
for the client.
On your device, VLAN-interface 1 is assigned an IP address 1.1.1.1/16. Make
■
sure that the port connected to PC belongs to the same VLAN.
TFTP a startup file from PC for upgrading and a configuration file config.cfg to
■
PC for backup.
Network diagram
Figure 301 Smooth upgrading using the TFTP client function
TFTP Client
Vlan-int 1
1.1.1.1/16
Switch
Displaying and Maintaining the TFTP Client
Use the command...
tftp client source { interface
interface-type
interface-number | ip
source-ip-address }
quit
tftp server-address { get | put
| sget } source-filename
[ destination-filename ]
[ source { interface
interface-type
interface-number | ip
source-ip-address } ]
tftp ipv6 tftp-ipv6-server [ -i
interface-type
interface-number ] { get |
put } source-file
[ destination-file ]
Use the command...
display tftp client
configuration
TFTP Server
1.2.1.1/16
IP network
Remarks
Optional
A device uses the source
address determined by the
routing protocol to
communicate with the TFTP
server by default.
-
Optional
Optional
Remarks
Available in any view
PC
1003