beautypg.com

Ii. network diagram, Iii. configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual

Page 549

background image

Operation Manual – FTP and TFTP

H3C S3100-52P Ethernet Switch

Chapter 1 FTP and TFTP Configuration

1-17

The application named switch.bin is stored on the PC. Download it (switch.bin) to the
switch through TFTP, and upload the configuration file named config.cfg to the work
directory on the PC to backup the configuration file.

II. Network diagram

Switch

PC

Network

Switch

Switch

PC

s

Network

Figure 1-5

Network diagram for TFTP configuration

III. Configuration procedure

1) Start the TFTP server and configure the work directory on the PC.
2) Configure the switch.
# Log into the switch. (You can log into a switch through the Console port or by
Telneting to the switch. See the “Login” module for detailed information.)

Caution:

If available space on the Flash memory of the switch is not enough to hold the file to be
uploaded, you need to delete files from the Flash memory to make room for the file.


# Enter system view

system-view

[H3C]

# Configure the IP address of a VLAN interface on the switch to be 1.1.1.1/24, and
ensure that the port through which the switch connects with the PC belongs to this
VLAN. (This example assumes that the port belongs to VLAN 1.)

[H3C] interface Vlan-interface 1

[H3C-vlan-interface1] ip address 1.1.1.1 255.255.255.0

[H3C-vlan-interface1] quit

# Download the switch application named switch.bin from the TFTP server to the
switch.

tftp 1.1.1.2 get switch.bin switch.bin