TFTP Overview
227
Uploading Files by
means of TFTP
To upload a file, the client sends a request to the TFTP server and then transmits
data to it and receives the acknowledgement from it.
You can use the following
commands to upload files.
Perform the following configuration in User View.
Table 251
Upload Files by means of TFTP
TFTP Client
Configuration Example
Networking Requirement
The Switch serves as TFTP client and the remote PC as TFTP server. Authorized TFTP
directory is set on the TFTP server. The IP address of a VLAN interface on the Switch
is 1.1.1.1, and that of the PC is 2.2.2.2. The interface on the Switch connecting
the PC belong to the same VLAN.
The Switch application
switch.app
is stored on the PC. Using TFTP, the Switch can
download the
switch.app
from the remote TFTP server and upload the
config.cfg
to the TFTP server under the Switch directory for backup purpose.
Networking Diagram
Figure 61
Networking for TFTP Configuration
Configuration Procedure
1
Start TFTP server on the PC and set authorized TFTP directory.
2
Configure the Switch
Log into the Switch (locally through the Console port or remotely using Telnet).
<4500>
CAUTION:
If the flash memory of the Switch is not enough, you need to first
delete the existing programs in the flash memory and then upload the new ones.
3
Enter System View and download the switch.app from the TFTP server to the flash
memory of the Switch.
<4500>
system-view
[4500]
4
Configure IP address 1.1.1.1 for the VLAN interface, ensure the port connecting
the PC is also in this VALN (VLAN 1 in this example).
[4500]
interface vlan 1
[4500-vlan-interface1]
ip address 1.1.1.1 255.255.255.0
Operation
Command
Upload files by means of TFTP
tftp
tftp-server
put
source-file
[
dest-file
]
Switch
PC
Network
Switch
Switch
PC
Network
Содержание 400 Family
Страница 12: ......
Страница 16: ...14 ABOUT THIS GUIDE ...
Страница 58: ...56 CHAPTER 2 PORT OPERATION ...
Страница 68: ...66 CHAPTER 3 VLAN OPERATION ...
Страница 98: ...96 CHAPTER 5 NETWORK PROTOCOL OPERATION ...
Страница 124: ...122 CHAPTER 6 IP ROUTING PROTOCOL OPERATION ...
Страница 156: ...154 CHAPTER 8 ACL CONFIGURATION ...
Страница 218: ...216 CHAPTER 11 802 1X CONFIGURATION ...
Страница 298: ...296 CHAPTER 13 PASSWORD CONTROL CONFIGURATION OPERATIONS ...
Страница 336: ...334 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP ...