
58-3
To do… Use the command… Remarks
Download or upload a file in IPv4
network
tftp
server-address
{
get
|
put
|
sget
}
source-filename
[ destination-filename ]
[
source
{
interface
interface-type
interface-number |
ip
source-ip-address
} ]
Optional
Download or upload a file in IPv6
network
tftp ipv6
tftp-ipv6-server [
-i
interface-type interface-number ]
{
get
|
put
} source-file
[ destination-file ]
Optional
z If no primary IP address is configured on the source interface, TFTP connection fails.
z 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.
Displaying and Maintaining the TFTP Client
To do… Use the command… Remarks
Display the configuration of the
TFTP client
display tftp client configuration
Available in any view
TFTP Client Configuration Example
Network requirements
z Use a PC as the TFTP server and your device as the TFTP client.
z PC uses IP address 1.2.1.1./16 and a TFTP working directory has been defined for the client.
z 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.
z TFTP a startup file from PC for upgrading and a configuration file config.cfg to PC for backup.
Network diagram
Figure 58-2 Smooth upgrading using the TFTP client function
Configuration procedure
1) Configure PC (TFTP Server), the configuration procedure omitted.
z On the PC, enable TFTP server
Komentarze do niniejszej Instrukcji