2-11
FTP Server Configuration Example
Single Device Upgrade
Network requirements
z
As shown in
Figure 2-4
, use Device as an FTP server, and the PC as the FTP client. Their IP
addresses are 1.2.1.1/16 and 1.1.1.1/16 respectively. An available route exists between Device
and PC.
z
PC keeps the updated startup file of the device. Use FTP to upgrade the device and back up the
configuration file.
z
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
Internet
Device
FTP server
PC
FTP client
1.2.1.1/16
1.1.1.1/16
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- 10471471 Sep 18 2008 02:45:15 4800G-d501.bin
1 -rw- 9989823 Jul 14 2008 19:30:46 4800G_b57.bin
2 -rw- 6 Apr 26 2000 12:04:33 patchstate
3 -rw- 2337 Apr 26 2000 14:18:45 config.cfg
4 drw- - Apr 26 2000 13:10:56 test
5 -rw- 2337 Apr 26 2000 13:47:32 archive_1.cfg
Содержание 4500G PWR 24-Port
Страница 200: ...1 5 ProviderB GigabitEthernet1 0 2 undo stp enable ProviderB GigabitEthernet1 0 2 bpdu tunnel dot1q stp ...
Страница 252: ...1 7 Clearing ARP entries from the ARP table may cause communication failures ...
Страница 362: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1 ...
Страница 407: ...1 8 1 1 ms 1 ms 1 ms 1 1 6 1 2 1 ms 1 ms 1 ms 1 1 4 1 3 1 ms 1 ms 1 ms 1 1 2 2 Trace complete ...
Страница 786: ...1 16 3 In the case of PIM SM use the display current configuration command to check the BSR and RP information ...
Страница 1387: ...1 23 ...
Страница 1443: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2 ...
Страница 1720: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5 ...