40CHAPTER 4: MAINTAINING THE ROUTER

Starting the FTP server Perform the following configurations with the help of the maintenance personnel at the router side:

1Set authentication mode

You can select an AAA configuration scheme depending on the actual situation. F

2Add user name and password

[Router] local-user router password simple 123 service-type ftp

"Router" represents the user name and "123" the password.

3Add server type

[Router] local-user Router service-type ftp

4Add right level

[Router] local-user Router level 3

5Specify FTP directory

[Router] local-user Router ftp-directory flash:

6Start FTP server.

[Router] ftp-server enable

With these operations, the FTP server has been started on the router and the username has been set. In this case, all the FTP client programs can use the username and password to log onto the FTP server.

Uploading/Downloading application, configuration file and Uploading

Boot ROM program

1Enter the directory containing the application file, Boot ROM program or configuration files in the DOS state. Execute the ftp command to set up an FTP connection with the router. For example:

C:\version\ftp 10.110.10.10

If the connection is set up, the following information will be displayed (taking

Windows98 as an example):

Connected to 10.110.10.10

220 FTP server ready on Router at

User(10.110.10.10:(none)):

2Log in the FTP server with the username and password set on the router.

User(10.110.10.10:(none)): Router

331 Password required for ftp

Password:

230 User ftp logged in

ftp>

The appearance of the prompt "ftp>" means that you can begin the upload/download operation.

3Upload/Download the application files, Boot ROM program or configuration files.

By default, the application file and configuration file on the router are respectively named "system" and "config", the file of the extended Boot ROM program segment is named "bootrom", and the entire Boot ROM file name defaults to bootromall.

Page 42
Image 42
HP 5000 Router manual Add right level, Specify FTP directory, Start FTP server