PDA

View Full Version : Giúp em Backup & Restore config Switch3550



manhlam
01-02-2008, 01:12 PM
hiện tại em đang dùng 01 con S3550 với cấu hình đang chạy em muốn backup ra ngoài sau đó thay con Switch 3550 mới vào và Restore lại cấu hình thì làm thế nào , Vnpro hướng dẫn em với.

thanks!

tranmyphuc
01-02-2008, 01:48 PM
hiện tại em đang dùng 01 con S3550 với cấu hình đang chạy em muốn backup ra ngoài sau đó thay con Switch 3550 mới vào và Restore lại cấu hình thì làm thế nào , Vnpro hướng dẫn em với.

thanks!
1) Đây là quy trình backup cấu hình của Switch vào một FTP server (anh có thể cài phần mềm FTP server vào 1 máy tính và nối nó vào cổng fast ethernet của Switch, đồng thời anh cần phải đặt IP cho card mạng LAN của PC.

Backup Configuration and Software Image

Perform a backup of the switch configuration to the PC that runs the TFTP server. If you lose the switch configuration for any reason, you can always restore the configuration from the TFTP server.
Issue the copy startup-config tftp command on the 3550 in order to back up your current configuration to a TFTP server. Here is a sample command output:
3550# copy startup-config tftp
Address or name of remote host []? 20.20.20.2

!--- Enter your TFTP server IP.
!--- Press Return or Enter.

Destination filename [3550-confg]?

!--- Press Return or Enter.
!--- The file 3550-confg saves in the
!--- TFTP server root directory.

!!
1622 bytes copied in 3.656 secs (444 bytes/sec)
3550# Sau đây là quy trình upgrade cấu hình của con cũ vào con Switch mới :

Software Upgrade Procedure for 3550 Series Switches

There are two upgrade procedures available for the 3550:
If you want to use the CLI only and do not intend to use the CMS software, complete the Step-by-Step Procedure for the 3550 with Use of Only the Cisco IOS Image (.bin File) (http://www.cisco.com/en/US/products/hw/switches/ps646/products_configuration_example09186a0080169623.sht ml#concept9).
If you want to use the latest version of CMS software, complete the Step-by-Step Procedure for the 3550 with Use of the CMS Image (.tar File) (http://www.cisco.com/en/US/products/hw/switches/ps646/products_configuration_example09186a0080169623.sht ml#concept10). Note: For more information on the CMS, refer to the Multimedia Presentation (http://www.cisco.com/warp/public/779/smbiz/multimedia/).
Step-by-Step Procedure for the 3550 with Use of Only the Cisco IOS Image (.bin File)

In this example, you upgrade the software on a 3550 from Cisco IOS Software Release 12.1(12c)EA1 to Cisco IOS Software Release 12.1(13)EA1 with use of only the Cisco IOS image (.bin file). The procedure is the same despite the version of software that you use.
Issue the show version command in order to view the current version of software that you run.
Here is a sample command output:

3550# show version
Cisco Internetwork Operating System Software
IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(12c)EA1, RELEASE SOFTWARE
(fc1)

!--- The current software version is Cisco IOS Software Release 12.1(12c)EA1.

From the LAN Switches section of Downloads - Switches (http://tools.cisco.com/support/downloads/go/MDFTree.x?butype=switches) http://www.cisco.com/apps-ui/generic/interim/images/popup_icon.gif ( registered (http://tools.cisco.com/RPF/register/register.do) customers only) , choose Catalyst 3550 software and find the image that you want to download.
Note the size of the image in bytes. This example uses the file c3550-i5q3l2-mz.121-13.EA1.bin. The "i5q3l2" at the start of the file name tells you that this image is an EMI. The image size is 3993612 bytes, or approximately 4 MB.
Note: The procedure is the same for the SMI. The SMI image has "i9q3l2" at the start of the file name. The SMI image is smaller and takes up less room in Flash. If you still have questions about whether to use an SMI or EMI image, see the Understand 3550 Software Image Naming Conventions: SMI and EMI (http://www.cisco.com/en/US/products/hw/switches/ps646/products_configuration_example09186a0080169623.sht ml#concept2) section of this document.
Download the image that you want.
Issue the dir flash: command on the 3550 in order to verify the amount of free memory that you have for the upgrade.
Here is a sample command output:

3550# dir flash:
Directory of flash:/
2 -rwx 556 Mar 01 1993 00:02:13 vlan.dat
3 -rwx 3384393 Mar 01 1993 00:32:58 c3550-i5q3l2-mz.121-9.EA1c.bin
4 drwx 192 Mar 01 1993 00:10:15 c3550-i5q3l2-mz.121-11.EA1a

!--- Notice the "d" for directory in the permissions statement.

38 -rwx 0 Mar 01 1993 00:10:15 env_vars
7 -rwx 348 Mar 01 1993 00:10:15 system_env_vars
12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1

!--- Notice the "d" for directory in the permissions statement.

15998976 bytes total (1949184 bytes free)

!--- There are just under 2 MB of memory left, which is not enough.
!--- A deletion of one of the old images or, possibly, a directory
!--- is necessary to upgrade.

3550# Note: If you already have enough room in Flash for the upgrade, proceed directly to Step 6.
Issue the delete command in order to remove the old Cisco IOS Software Release 12.1(9)EA1c image (.bin file).
This deletion frees up enough room for the upgrade. Here is a sample command output:

3550# delete flash:c3550-i5q3l2-mz.121-9.EA1c.bin
Delete filename [c3550-i5q3l2-mz.121-9.EA1c.bin]?

!--- Press Return or Enter.

Delete flash:c3550-i5q3l2-mz.121-9.EA1c.bin? [confirm]

!--- Press Return or Enter.

3550#
3550# dir flash:
Directory of flash:/
2 -rwx 556 Mar 01 1993 00:02:13 vlan.dat
4 drwx 192 Mar 01 1993 00:10:15 c3550-i5q3l2-mz.121-11.EA1a
38 -rwx 0 Mar 01 1993 00:10:15 env_vars
7 -rwx 348 Mar 01 1993 00:10:15 system_env_vars
12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1
15998976 bytes total (5334016 bytes free)

!--- After you delete the old Cisco IOS image file, there is now
!--- over 5 MB of free memory. There is enough room for the upgrade.

3550# An upgrade can require you to free up even more space. The requirement depends on how many images you have stored in Flash. You can delete an old image directory to free up this space.
Note: Remember this storage location so that you can find the old Cisco IOS image (.bin file) as well as the files that you need for the CMS. If you do not use the web interface to manage the switch or you have a newer image directory, the storage location is not a problem.
Issue the delete /force /recursive command in order to delete an image directory and all the subdirectories and files in the image directory. Here is a sample command output:

3550# delete /force /recursive flash:c3550-i5q3l2-mz.121-11.EA1a
Delete filename [c3550-i5q3l2-mz.121-11.EA1a]?

!--- Press Return or Enter.

3550#
3550# dir flash:
Directory of flash:/
2 -rwx 556 Mar 01 1993 00:02:13 vlan.dat
38 -rwx 0 Mar 01 1993 00:10:15 env_vars
7 -rwx 348 Mar 01 1993 00:10:15 system_env_vars
12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1
15998976 bytes total (10417664 bytes free)

!--- You do not need to free up more room in this case.
!--- However, you can see that you now have over 10 MB of free space.

3550#
Issue the copy tftp flash: command in order to perform the upgrade.

3550# copy tftp flash:
Address or name of remote host []? 20.20.20.2

!--- This is the TFTP server IP. Press Return or Enter.

Source filename []? c3550-i5q3l2-mz.121-13.EA1.bin

!--- Press Return or Enter.

Destination filename [c3550-i5q3l2-mz.121-13.EA1.bin]?
Accessing tftp://20.20.20.2/c3550-i5q3l2-mz.121-13.EA1.bin...
Loading c3550-i5q3l2-mz.121-13.EA1.bin from 20.20.20.2 (via Vlan1): !!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 3993612 bytes]

!--- The image copied successfully.

3993612 bytes copied in 107.992 secs (36981 bytes/sec)
3550# dir flash:
Directory of flash:/
2 -rwx 556 Mar 01 1993 00:02:13 vlan.dat
3 -rwx 3993612 Mar 01 1993 01:11:07 c3550-i5q3l2-mz.121-13.EA1.bin

!--- Installation of the new image is in the flash: directory.

38 -rwx 0 Mar 01 1993 00:10:15 env_vars
7 -rwx 348 Mar 01 1993 00:10:15 system_env_vars
12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1
15998976 bytes total (6423552 bytes free)
3550#
3550# verify flash:c3550-i5q3l2-mz.121-13.EA1.bin
Verified flash:c3550-i5q3l2-mz.121-13.EA1.bin
3550#

!--- Issue the verify command to verify that the
!--- image checksum is correct.

Set a boot system statement so that the new image boots on the next reload.
Here is a sample command output:

3550# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
3550(config)# boot system flash:c3550-i5q3l2-mz.121-13.EA1.bin
3550(config)# end
3550#
3550# show boot
BOOT path-list: flash:c3550-i5q3l2-mz.121-13.EA1.bin

!--- Output suppressed.
!--- The boot system statement does not show up in the configuration.
!--- Issue the show boot command to verify that the new image
!--- boots on the next reload of the switch.

Issue the write memory command in order to save your changes, and reload the switch.
Here is a sample command output:

3550# write memory
Building configuration...
[OK]
3550# reload
Proceed with reload? [confirm]

!--- Press Return or Enter.

01:21:53: %SYS-5-RELOAD: Reload requested

!--- Output suppressed.

Press RETURN to get started!

!--- Press Return or Enter.


!--- Output suppressed.

Issue the show version command in order to verify that you run the new image.
Here is a sample command output:

3550# show version
Cisco Internetwork Operating System Software
IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(13)EA1, RELEASE SOFTWARE
(fc1)

!--- The c3550-I5Q3L2 means that you run the EMI.
!--- The current software version is Cisco IOS Software Release 12.1(13)EA1.


!--- Output suppressed.
Step-by-Step Procedure for the 3550 with Use of the CMS Image (.tar File)

In this example, you upgrade the software on a 3550 from Cisco IOS Software Release 12.1(12c)EA1 to Cisco IOS Software Release 12.1(13)EA1 with use of the CMS image (.tar file).
Issue the show version command in order to view the current version of software that you run.
Here is a sample command output:

3550# show version
Cisco Internetwork Operating System Software
IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(12c)EA1, RELEASE SOFTWARE
(fc1)

!--- The current version is Cisco IOS Software Release 12.1(12c)EA1.

From the LAN Switches section of Downloads - Switches (http://tools.cisco.com/support/downloads/go/MDFTree.x?butype=switches) http://www.cisco.com/apps-ui/generic/interim/images/popup_icon.gif ( registered (http://tools.cisco.com/RPF/register/register.do) customers only) , choose Catalyst 3550 software and find the image that you want to download.
Note the size of the image in bytes. This example uses the file c3550-i5q3l2-tar.121-13.EA1.tar. The "i5q3l2" at the start of the file name tells you that this image is an EMI. The image size is 6011904 bytes, or approximately 6 MB.
Note: The procedure is the same for the SMI. The SMI image has "i9q3l2" at the start of the file name. The SMI image is smaller and takes up less room in Flash. If you still have questions about whether to use an SMI or EMI image, see the Understand 3550 Software Image Naming Conventions: SMI and EMI (http://www.cisco.com/en/US/products/hw/switches/ps646/products_configuration_example09186a0080169623.sht ml#concept2) section of this document.
Download the image that you want.
Issue the dir flash: command on the 3550 in order to verify the amount of free memory that you have for the upgrade.
Here is a sample command output:

3550# dir flash:
Directory of flash:/
2 -rwx 556 Mar 01 1993 00:00:35 vlan.dat
3 -rwx 3384393 Mar 01 1993 19:46:37 c3550-i5q3l2-mz.121-9.EA1c.bin

!--- Notice the installation of one Cisco IOS image (.bin file)
!--- and two image directories.

4 -rwx 1595 Mar 01 1993 19:52:41 config.text
5 -rwx 0 Mar 01 1993 19:52:33 env_vars
8 drwx 192 Mar 01 1993 19:42:50 c3550-i5q3l2-mz.121-11.EA1
12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1

!--- Notice the "d" in the permissions statement. The "d" indicates directory.
!--- These directories contain the Cisco IOS image (.bin file) and CMS files.
!--- The upgrade process extracted these files from the .tar image.

38 -rwx 316 Mar 01 1993 19:52:33 system_env_vars
15998976 bytes total (1948160 bytes free)

!--- There are less than 2 MB of free memory in Flash.
!--- The upgrade can require more space.

3550# Note: If you already have enough room in Flash for the upgrade, proceed directly to Step 6 .
To free up memory on the 3550, choose one of these options:
Overwrite or replace the software.
Choose this option if you do not want to keep your current version. Proceed to Step 6.
Manually delete an older image or directory.
Choose this option if you want to keep your current version of software as a backup. Issue the delete command in order to remove an old Cisco IOS image or directory and make room for the upgrade. Here is a sample command output:

3550# delete flash:c3550-i5q3l2-mz.121-9.EA1c.bin
Delete filename [c3550-i5q3l2-mz.121-9.EA1c.bin]?

!--- Press Enter or Return.

Delete flash:c3550-i5q3l2-mz.121-9.EA1c.bin? [confirm]

!--- Press Enter or Return.

3550#
3550# dir flash:
Directory of flash:/
2 -rwx 556 Mar 01 1993 00:00:35 vlan.dat
4 -rwx 1595 Mar 01 1993 19:52:41 config.text
5 -rwx 0 Mar 01 1993 19:52:33 env_vars
8 drwx 192 Mar 01 1993 19:42:50 c3550-i5q3l2-mz.121-11.EA1

!--- Notice the "d" in the permissions statement. The "d" indicates directory.

12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1
38 -rwx 316 Mar 01 1993 19:52:33 system_env_vars
15998976 bytes total (5332992 bytes free)

!--- The deletion of an old Cisco IOS image (.bin file) creates
!--- additional memory. But in this case,
!--- there is still not enough free memory for the new 6 MB image.
!--- You need to delete one of the image directories.

3550# The upgrade installs the Cisco IOS image (.bin file) and the CMS files in the image directory on a 3550. The image directory has the Cisco IOS image name, with the exclusion of the .bin extension. Here is a sample command output:

3550# dir c3550-i5q3l2-mz.121-11.EA1
Directory of flash:/c3550-i5q3l2-mz.121-11.EA1/
9 drwx 704 Mar 01 1993 19:40:57 html

!--- The html subdirectory contains the CMS files
!--- necessary for web management.

36 -rwx 3703698 Mar 01 1993 19:42:50 c3550-i5q3l2-mz.121-11.EA1.bin

!--- This is the Cisco IOS image (.bin file) for this image directory.

37 -rwx 252 Mar 01 1993 19:42:50 info
15998976 bytes total (5332992 bytes free)
3550# Issue the delete /force /recursive command in order to delete an image directory and all the files in the image directory. Here is a sample command output:

3550# delete /force /recursive c3550-i5q3l2-mz.121-11.EA1
Delete filename [c3550-i5q3l2-mz.121-11.EA1]?

!--- Press Enter or Return.

3550#
3550# dir flash:
Directory of flash:/
2 -rwx 556 Mar 01 1993 00:00:35 vlan.dat
4 -rwx 1595 Mar 01 1993 19:52:41 config.text
5 -rwx 0 Mar 01 1993 19:52:33 env_vars
12 drwx 192 Mar 01 1993 00:16:22 c3550-i5q3l2-mz.121-12c.EA1
38 -rwx 316 Mar 01 1993 19:52:33 system_env_vars
15998976 bytes total (10415616 bytes free)

!--- There is now enough room to proceed with the upgrade.

Issue the archive download-sw command in order to copy over the .tar file and extract all the files inside the .tar file.
There are two options to consider with this command:
/leave-old-sw
If you choose to leave the current version of software as a backup, the command syntax is archive download-sw /leave-old-sw tftp://tftp_server_ip/file_name . As Step 5 discusses, be sure that you have enough space in Flash to use this option.
/overwrite
If you choose to overwrite or replace the current version of software with the newer version, the command syntax is archive download-sw /overwrite tftp://tftp_server_ip/file_name . This document uses this overwrite option. The upgrade procedure is exactly the same despite the option you choose, but the results differ.
Note: There are additional options that this document does not cover. For details, refer to Working with the IOS File System, Configuration Files, and Software Images (http://www.cisco.com/en/US/docs/switches/lan/catalyst3550/software/release/12.1_13_ea1/configuration/guide/swiosfs.html) for your release of 3550 software.
Issue the dir flash: command. Here is a sample command output:

3550# dir flash:
Directory of flash:/
2 -rwx 916 Mar 01 1993 00:00:48 vlan.dat
3 -rwx 1554 Mar 01 1993 02:53:42 config.text
4 -rwx 5 Mar 01 1993 02:53:42 private-config.text
6 -rwx 0 Mar 01 1993 00:02:21 env_vars
5 drwx 192 Mar 01 1993 02:49:44 c3550-i5q3l2-mz.121-12c.EA1

!--- This is the current version of software.

8 -rwx 277 Mar 01 1993 00:02:21 system_env_vars
15998976 bytes total (10415104 bytes free)
3550# Issue the archive download-sw command with the /overwrite option. The command replaces the current software version, Cisco IOS Software Release 12.1(12c)EA1, with the later version, Cisco IOS Software Release 12.1(13)EA1. Here is a sample command output:

3550# archive download-sw /overwrite tftp://20.20.20.2/
c3550-i5q3l2-tar.121-13.EA1.tar

!--- Note: This command should be on one line.

examining image...
Loading c3550-i5q3l2-tar.121-13.EA1.tar from 20.20.20.2 (via Vlan1): !!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
extracting info (252 bytes)!
[OK - 6011904 bytes]
Image info:
Version Suffix: i5q3l2-121-13.EA1
Image Name: c3550-i5q3l2-mz.121-13.EA1.bin
Version Directory: c3550-i5q3l2-mz.121-13.EA1
Ios Image Size: 3996160
Total Image Size: 6010880
Image Feature: LAYER_3|MIN_DRAM_MEG=64
Image Family: C3550
Extracting files...
Loading c3550-i5q3l2-tar.121-13.EA1.tar from 171.71.79.73 (via Vlan1): !
c3550-i5q3l2-mz.121-13.EA1/ (directory)
c3550-i5q3l2-mz.121-13.EA1/html/ (directory)

!--- Extraction of the CMS files occurs. The files move into
!--- the c3550-i5q3l2-mz.121-13.EA1/html/ directory.

extracting c3550-i5q3l2-mz.121-13.EA1/html/homepage.htm (3992 bytes)!
extracting c3550-i5q3l2-mz.121-13.EA1/html/not_supported.html (1392 bytes)
extracting c3550-i5q3l2-mz.121-13.EA1/html/common.js (9529 bytes)!!
extracting c3550-i5q3l2-mz.121-13.EA1/html/cms_splash.gif (22152 bytes)!!!!!
extracting c3550-i5q3l2-mz.121-13.EA1/html/cms_13.html (1211 bytes)

!--- Output suppressed.

extracting c3550-i5q3l2-mz.121-13.EA1/c3550-i5q3l2-mz.121-13.EA1.bin (3993612 by
tes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!--- Output suppressed.


!--- Extraction of the Cisco IOS image (.bin file) occurs. The file moves into
!--- the c3550-i5q3l2-mz.121-13.EA1 directory.

[OK - 6011904 bytes]
Deleting current version...
Deleting flash:c3550-i5q3l2-mz.121-12c.EA1...done.

!--- The deletion of the current version of software occurs.

New software image installed in flash:c3550-i5q3l2-mz.121-13.EA1

!--- The later version of software replaces
!--- the current version.

Configuring system to use new image...done.
3550#
3550# verify c3550-i5q3l2-mz.121-13.EA1/c3550-i5q3l2-mz.121-13.EA1.bin
Verified c3550-i5q3l2-mz.121-13.EA1/c3550-i5q3l2-mz.121-13.EA1.bin
3550#

!--- Verify the image checksum.

3550# dir flash:
Directory of flash:/
2 -rwx 916 Mar 01 1993 00:00:48 vlan.dat
3 -rwx 1554 Mar 01 1993 02:53:42 config.text
4 -rwx 5 Mar 01 1993 02:53:42 private-config.text
6 -rwx 346 Mar 01 1993 00:17:35 system_env_vars
24 drwx 192 Mar 01 1993 00:17:24 c3550-i5q3l2-mz.121-13.EA1

!--- The .tar file extraction process creates a new Cisco IOS image directory.

5 -rwx 0 Mar 01 1993 00:17:35 env_vars
15998976 bytes total (9992704 bytes free)
3550#
3550#dir flash:c3550-i5q3l2-mz.121-13.EA1
Directory of flash:/c3550-i5q3l2-mz.121-13.EA1/
25 drwx 832 Mar 01 1993 00:15:22 html

!--- Extraction of the CMS files moves the files into the html subdirectory.

40 -rwx 3993612 Mar 01 1993 00:17:24 c3550-i5q3l2-mz.121-13.EA1.bin

!--- The Cisco IOS image (.bin file) installs in the image directory.

41 -rwx 252 Mar 01 1993 00:17:24 info
15998976 bytes total (9992704 bytes free)
3550#
3550# dir flash:c3550-i5q3l2-mz.121-13.EA1/html
Directory of flash:c3550-i5q3l2-mz.121-13.EA1/html/
27 -rwx 3992 Mar 01 1993 00:14:25 homepage.htm
28 -rwx 1392 Mar 01 1993 00:14:25 not_supported.html
29 -rwx 9529 Mar 01 1993 00:14:25 common.js
30 -rwx 22152 Mar 01 1993 00:14:26 cms_splash.gif
31 -rwx 1211 Mar 01 1993 00:14:26 cms_13.html

!--- Output suppressed.
!--- These files are the CMS files.

Confirm that the archive download-sw command with the /overwrite option automatically configures a boot system statement.
With a boot system statement, the new image boots on the next reload of the switch. In order to confirm the configuration of a boot system statement, issue the show boot command.
Here is a sample command output:

3550# show boot
BOOT path-list: flash:c3550-i5q3l2-mz.121-13.EA1/c3550-i5q3l2-mz.121-13.EA1.bin

!--- Output suppressed.
If for some reason the configuration of the boot statement does not occur, you can configure the statement. Issue the boot system command.
Here is a sample command output:

3550# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
3550(config)# boot system flash:c3550-i5q3l2-mz.121-13.EA1/
c3550-i5q3l2-mz.121-13.EA1.bin

!--- Note: This command should be on one line.
!--- You use the directory/file name to set the boot system statement.

3550(config)# end
3550#
Issue the write memory command in order to save your changes and reload the switch.
Here is a sample command output:

3550# write memory
Building configuration...
[OK]
3550# reload
Proceed with reload? [confirm]

!--- Press Return or Enter.

00:56:01: %SYS-5-RELOAD: Reload requested

!--- Output suppressed.

Press RETURN to get started!

!--- Press Return or Enter.

Issue the show version command in order to verify that you run the new image.
Here is a sample command output:

3550# show version
Cisco Internetwork Operating System Software
IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(13)EA1, RELEASE SOFTWARE

!--- You currently run C3550-I5Q3L2 EMI
!--- and Cisco IOS Software Release 12.1(13)EA1.

(fc1)
Copyright (c) 1986-2003 by cisco Systems, Inc.

!--- Output suppressed.
Một số phần để xem xét nếu thực hành có trục trặc:

Verify

The Software Upgrade Procedure for 3550 Series Switches (http://www.cisco.com/en/US/products/hw/switches/ps646/products_configuration_example09186a0080169623.sht ml#configure2) section of this document provides the commands necessary in order to verify that your configuration works properly.
Troubleshoot

This section provides information you can use to troubleshoot your configuration.
Image Transfer from TFTP Server Fails

If you find that image transfer from the TFTP server fails continuously, refer to this document:
Common Problems in Installing Images Using TFTP or an RCP Server (http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_qanda_item09186a00800a775f.shtml)The document provides known issues with the TFTP server.
Software Upgrade Fails, Switch: Prompt Displays, or Switch Reboots Continuously

Your software upgrade can fail for a number of reasons. For example, IP connectivity problems can exist between the switch and TFTP server, or you can have incorrectly set the boot statements. These issues can cause your switch to boot in the switch: mode. If your 3550 displays the switch: prompt or continuously reboots, refer to this document for software recovery procedures:
Recovery From Corrupt or Missing Software Image on Cisco Catalyst 2900XL and 3500XL Series Switches (http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a0080094955.shtml) Switch Does Not Boot Automatically, Needs a Manual Boot at the ROMMON (switch: Prompt)

If you find that your switch does not boot automatically and needs a manual boot, refer to this document for manual boot at the ROMMON (switch: prompt):
The Switch Not Booting Automatically, Needs a Manual Boot at the ROMMON (switch: Prompt) (http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800946e5.shtml#switch_no t_auto) section of the document Upgrading Software in Catalyst 2900XL and 3500XL Switches Using the Command Line Interface (http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800946e5.shtml) You Receive the Error_Bad_Mzip Error Message

You see this error when the Cisco IOS image is corrupt or a .tar file uploads through an Xmodem. In order to resolve the issue, complete these steps:
Upload the .bin file to the switch through the Xmodem.
Set the boot path to the correct file name.
Reload the switch.
Check that the image file size is the correct one.
If the image file size is not correct, try to download the image file again.Refer to these documents to check the recovery procedure:
The Recovering from Corrupted Software (http://www.cisco.com/en/US/docs/switches/lan/catalyst2900xl_3500xl/release12.0_5_xu/scg/kitrbl.html#wp1034718) section of Troubleshooting (http://www.cisco.com/en/US/docs/switches/lan/catalyst2900xl_3500xl/release12.0_5_xu/scg/kitrbl.html)
The Step-by-Step Recovery Procedure (http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml#topic2) section of Recovering Catalyst Fixed Configuration Switches from a Corrupted or Missing Image (http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml) After the Upgrade the Switch Does not Boot and Moves to EMU Prompt

The prompt occurs due to corrupt software or some problem during the download.
In order to recover from the "EMU>" prompt, complete these recovery steps:
Reload the switch, and then press the mode button in order to force the switch to ROMMON.
Perform the ROMMON recovery with the procedure in the Recover from ROMmon Mode (http://www.cisco.com/en/US/products/hw/switches/ps663/products_configuration_example09186a0080094ecf.sht ml#rommon) section of Recover a Cisco IOS Catalyst 4500/4000 Series Switch from a Corrupt or Missing Image or in Rommon Mode. (http://www.cisco.com/en/US/products/hw/switches/ps663/products_configuration_example09186a0080094ecf.sht ml)
Note: Xmodem recovery is not supported when the switch is in the "EMU>" prompt. The only command that can be executed at the EMU prompt is dir flash:. If any other command is executed at the EMU prompt, the switch dispalys a no response from remote system message from the hyperterminal.

CHúc bạn vui 1!!

Mr.Metal
02-02-2008, 12:38 AM
Trời, lần sau post cái link trên web cisco là đc rùi...hix

Have fun!

vnpro-it
02-02-2008, 06:10 AM
Trời, lần sau post cái link trên web cisco là đc rùi...hix

Have fun!
Thôi mà anh, thông cảm cho MOD Phúc đi nha, nhiều khi ảnh Post vậy chứ chưa chắc ảnh đọc hiểu hết không, và làm được không nữa .. nên anh làm luôn bản gốc cho chắc ăn đó mà:-SS:-SS:-SS

hoakylan
26-03-2008, 08:30 AM
cho hỏi đây là down hay up hệ điều hành mà TFTP
còn chép cái file config trên Hypper tẻminal thí sao?