Ftp Server Configuration Example - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

FTP Server Configuration Example

Single Device Upgrade
Network requirements
As shown in
addresses are 1.2.1.1/16 and 1.1.1.1/16 respectively. An available route exists between Device
and PC.
PC keeps the updated startup file of the device. Use FTP to upgrade the device and back up the
configuration file.
Set the username to ftp and the password to pwd for the FTP client to log in to the FTP server.
Figure 2-4 Smooth upgrading using the FTP server
FTP client
1.2.1.1/16
PC
Configuration procedure
1)
Configure Device (FTP Server)
# Create an FTP user account ftp, set its password to pwd and the user privilege level to level 3 (the
manage level).
<Sysname> system-view
[Sysname] local-user ftp
[Sysname-luser-ftp] password simple pwd
[Sysname-luser-ftp] authorization-attribute work-directory level 3
# Authorize ftp's access to the root directory of the flash.
[Sysname-luser-ftp] authorization-attribute work-directory flash:/
# Specify ftp to use FTP.
[Sysname-luser-ftp] service-type ftp
[Sysname-luser-ftp] quit
# Enable FTP server.
[Sysname] ftp server enable
[Sysname] quit
# Check files on your device. Remove those redundant to ensure adequate space for the startup file to
be uploaded.
<Sysname> dir
Directory of flash:/
0
-rw-
1
-rw-
2
-rw-
3
-rw-
4
drw-
5
-rw-
Figure
2-4, use Device as an FTP server, and the PC as the FTP client. Their IP
Internet
10471471
Sep 18 2008 02:45:15
9989823
Jul 14 2008 19:30:46
6
Apr 26 2000 12:04:33
2337
Apr 26 2000 14:18:45
-
Apr 26 2000 13:10:56
2337
Apr 26 2000 13:47:32
FTP server
1.1.1.1/16
Device
4800G-d501.bin
4800G_b57.bin
patchstate
config.cfg
test
archive_1.cfg
2-11

Advertisement

Chapters

Table of Contents
loading

Table of Contents