beautypg.com

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

Page 538

background image

Operation Manual – FTP and TFTP

H3C S3100-52P Ethernet Switch

Chapter 1 FTP and TFTP Configuration

1-6

Table 1-6

Display FTP server information

Operation

Command

Description

Display the information about FTP

server configurations on a switch

display ftp-server

Display the source IP address set

for an FTP server

display ftp-server
source-ip

Display the login FTP client on an

FTP server

display ftp-user

These commands can

be executed in any

view.

1.1.3 Configuration Example: A Switch Operating as an FTP Server

I. Network requirements

A switch operates as an FTP server and a remote PC as an FTP client.

z

Create a user account on the FTP server with the user name “switch” and
password “hello”.

z

Configure the IP address 1.1.1.1/16 for a VLAN interface on the switch, and
2.2.2.2/16 for the PC. Ensure the route between the two is reachable.

The switch application named switch.bin is stored on the PC. Upload it to the FTP
server through FTP to upgrade the application of the switch, and download the switch
configuration file named config.cfg from the switch to backup the configuration file.

II. Network diagram

Switch

PC

Network

Network

Switch

PC

Network

Network

Figure 1-2

Network diagram for FTP configurations

III. Configuration procedure

1) 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.)

# Start the FTP service on the switch and set the user name and the corresponding
password.