Ftp banner display configuration example, Ftp banner display configuration example -10 – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 523

Advertising
background image

49-10

This example uses the command line window tool provided by Windows. When you log in to the FTP
server through another FTP client, refer to the corresponding instructions for operation description.

z

If available space on the flash memory of the device is not enough to hold the file to be uploaded,
you need to delete files not in use from the flash memory to make room for the file, and then upload
the file again. The files in use cannot be deleted.

z

The device is not shipped with FTP client application software. You need to purchase and install it
by yourself.

3) Configure Switch A (FTP server)

# After uploading the configuration file, use the startup saved-configuration command to specify the
uploaded configuration file as the main configuration file for next startup, and restart the device.

<device>startup saved-configuration config.cfg main

Please wait........................................Done!

For information about the startup saved-configuration command and how to specify the main
configuration file for the switching engine, refer to System Maintenance and Debugging in H3C

WX3000 Series Unified Switches Switching Engine Configuration Guide

.

FTP Banner Display Configuration Example

Network requirements

As shown in

Figure 49-4

, configure the device as an FTP server and the remote PC as an FTP client.

After a connection between the FTP client and the FTP server is established and login succeeds, the
banner is displayed on the FTP client.

z

An FTP user named “switch” and the password “hello” have been configured on the FTP server.

z

The IP addresses 1.1.1.1 for a VLAN interface on the switching engine and 2.2.2.2 for the PC have
been configured. Ensure that a route exists between the device and the PC.

z

Configure the login banner of the switching engine as “login banner appears” and the shell banner
as “shell banner appears”.

Figure 49-4

Network diagram for FTP banner display configuration

Network

Switch

PC

FTP Server

FTP Client

Vlan-Int1
1.1.1.1/8

2.2.2.2/8

Advertising