Tftp Configuration: A Switch Operating As A Tftp Client; Tftp Configuration Example - H3C S3100 Series Operation Manual

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

TFTP server configuration

TFTP Configuration: A Switch Operating as a TFTP Client

Basic configurations on a TFTP client
By default a switch can operate as a TFTP client. In this case you can connect the switch to the TFTP
server to perform TFTP-related operations (such as creating/removing a directory) by executing
commands on the switch.
Table 2-2 Basic configurations on a TFTP client
Operation
Download a file from a TFTP
server
Upload a file to a TFTP server
Enter system view
Set the file transmission mode
Specify an ACL rule used by the
specified TFTP client to access a
TFTP server

TFTP Configuration Example

Network requirements
A switch operates as a TFTP client and a PC as the TFTP server. The application named switch.bin is
stored on the PC. Download it (switch.bin) to the switch through TFTP, and use the boot boot-loader
command to specify switch.bin as the application for next startup. Reboot the switch to upload the
configuration file named config.cfg to the work directory on the PC to back up the configuration file.
The TFTP working directory is configured on the TFTP server.
Configure the IP addresses of a VLAN interface on the switch and the PC as 1.1.1.1 and 1.1.1.2
respectively. The port through which the switch connects with the PC belongs to the VLAN.
Network diagram
Figure 2-1 Network diagram for TFTP configurations
Configuration procedure
1)
Configure the TFTP server (PC)
Start the TFTP server and configure the working directory on the PC.
Item
Table 2-2
lists the operations that can be performed on a TFTP client.
tftp tftp-server get source-file
[ dest-file ]
tftp tftp-server put source-file
[ dest-file ]
system-view
tftp { ascii | binary }
tftp-server acl acl-number
Configuration task
For details, see the corresponding manual
Command
2-2
Description
Description
Optional
Optional
Optional
Binary by default
Optional
Not specified by default

Advertisement

Chapters

Table of Contents
loading

Table of Contents