Ftp Server Configuration Example (For Standalone Mode) - HP A7500 Series Configuration Manual

Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

FTP server configuration example (for standalone mode)

Network requirements
As shown in
addresses are 1.2.1.1/16 and 1.1.1.1/16 respectively. The device and PC can reach each other.
The PC keeps the updated system software image file of the device. Use FTP to upgrade the device
and back up the configuration file.
Set the username to abc and the password to abc for the FTP client to log in to the FTP server.
Figure 35 Upgrading using the FTP server
FTP client
1.2.1.1/16
PC
Configuration procedure
Configure the device (FTP server)
1.
# Create an FTP user account abc, set its password to abc and the user privilege level to level 3 (the
manage level).Allow user abc to access the root directory of the flash on the active MPU, and specify abc
to use FTP.
<Sysname> system-view
[Sysname] local-user abc
[Sysname-luser-abc] password simple abc
[Sysname-luser-abc] authorization-attribute level 3
[Sysname-luser-abc] authorization-attribute work-directory flash:/
To access the flash root directory of the standby MPU (in slot 1), replace flash:/ with slot1#flash:/ in
authorization-attribute work-directory flash:/.
[Sysname-luser-abc] service-type ftp
[Sysname-luser-abc] quit
# Enable FTP server.
[Sysname] ftp server enable
[Sysname] quit
# Check files on your device. Remove those redundant to ensure adequate space for the system software
image file to be uploaded.
<Sysname> dir
Directory of flash:/
0
drw-
1
drw-
2
-rw-
3
-rw-
125349 KB total (25110 KB free)
<Sysname> delete /unreserved flash:/back.cfg
Configure the PC (FTP client)
2.
Figure
35, use the device as an FTP server, and the PC as the FTP client. Their IP
Internet
-
Dec 07 2005 10:00:57
-
Jan 02 2006 14:27:51
1216
Jan 02 2006 14:28:59
1216
Jan 02 2006 16:27:26
FTP server
1.1.1.1/16
Device
filename
logfile
config.cfg
back.cfg
84

Advertisement

Table of Contents
loading

Table of Contents