3com WX3000 Manuel D’Utilisation

Page de 715
 
1-11 
Figure 1-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
 
 
Configuration procedure 
1)  Configure the switch (FTP server) 
# Configure the login banner of the switching engine as “login banner appears” and the shell banner as 
“shell banner appears”. For detailed configuration of other network requirements, see 
<device> system-view 
[device] header login %login banner appears% 
[device] header shell %shell banner appears% 
[device] 
2)  Configure the PC (FTP client) 
# Access the switching engine through FTP. Enter the user name “switch“ and the password “hello” to 
log in to the device, and then enter FTP view. Login banner appears after FTP connection is established. 
Shell banner appears after the user passes the authentication.  
C:\> ftp 1.1.1.1 
Connected to 1.1.1.1. 
220-login banner appears 
 
220 FTP service ready. 
User (1.1.1.1:(none)): switch 
331 Password required for switch. 
Password: 
230-shell banner appears 
 
230 User logged in. 
ftp> 
FTP Configuration: The Device Operating as an FTP Client 
Network requirements 
As shown in 
, the device operates as an FTP client and a remote PC as an FTP server. The 
configuration file of the switching engine named config.cfg is stored on the PC. Download it to the 
switching engine through FTP and use the startup saved-configuration command to specify 
config.cfg as the main configuration file for next startup, and then reboot the device. 
Create a user account on the FTP server with the user name “switch” and password “hello”, and 
grant the user “switch” read and write permissions for the directory named “Switch” on the PC. 
Configure the IP address 1.1.1.1 for a VLAN interface on the device, and 2.2.2.2 for the PC. Ensure 
a route exists between the device and the PC.