R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Configuration Guide

86
[Router-luser-abc] service-type ftp
[Router-luser-abc] quit
To access the CF card root directory of the standby MPU in slot 1, replace cfa0:/ in the command
authorization-attribute work-directory cfa0:/ with slot1#cfa0:/.
# Enable the FTP server.
[Router] ftp server enable
[Router] quit
# Examine the storage space for space insufficiency and delete unused files for more free space.
<Router> dir
Directory of cfa0:/
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
2540 KB total (2511 KB free)
<Router> delete /unreserved cfa0:/back.cfg
2. Perform FTP operations from the PC (FTP client):
# Log in to the FTP server at 1.1.1.1 using username abc and password abc.
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.
# Download the file config.cfg from the router to the PC for backup.
ftp> get config.cfg back-config.cfg
# Upload the file newest.bin to the root directory of the active MPU's CF card.
ftp> put newest.bin
200 Port command okay.
150 Opening ASCII mode data connection for /newest.bin.
226 Transfer complete.
ftp> bye
221 Server closing.
c:\>
This FTP procedure also applies to upgrading configuration files.
NOTE:
A
fter you finish upgrading the Boot ROM image through FTP, execute the bootrom update command to
upgrade Boot ROM.
3. Upgrade the router:
# Copy the system software image file newest.bin to the root directory of the CF card on the
standby MPU (in slot 1).