Network diagram, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 537

Advertising
background image

57-8

Network diagram

Figure 57-3

Smooth upgrading using the FTP server

Configuration procedure

1) Configure

access

controller (FTP Server)

# Create an FTP user account abc, setting its password to pwd.

<Sysname> system-view

[Sysname] local-user abc

[Sysname-luser-abc] password simple pwd

# Specify abc to use FTP, and authorize its access to certain directory.

[Sysname-luser-abc] service-type ftp

[Sysname-luser-abc] work-directory flash:/

[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 startup file to
be uploaded.

<Sysname> dir

Directory of flash:/

0 drw- - Dec 07 2005 10:00:57 filename

1 drw- - Jan 02 2006 14:27:51 logfile

2 -rw- 1216 Jan 02 2006 14:28:59 config.cfg

3 -rw- 1216 Jan 02 2006 16:27:26 back.cfg

4 drw- - Jan 02 2006 15:20:21 ftp

2540 KB total (2511 KB free)

<Sysname> delete /unreserved flash:/back.cfg

2) Configure the PC (FTP Client)

# Upload the startup file to the FTP server and save it under the root directory of the FTP server.

c:\> ftp 1.1.1.1

Connected to 1.1.1.1.

220 FTP service ready.

User(1.1.1.1:(none)):abc

331 Password required for abc.

Password:

230 User logged in.

ftp> put aaa.bin bbb.bin

Advertising