Sie sind auf Seite 1von 2

Upgrading IOS for Switch

Author(s): Quality Assurance: Version Date Tran Van Thanh Tran Van Thanh 1.0 Feb 14 2008

Command Utilities
Equipments at BachKhoa Networking Academy:
Router: CISCO2651XM/ CISC2621XM IOS IP Plus Version 12.2(28) RAM 128 MB, Flash 48 MB {2621XM la DRAM, 2651XM la SDRAM} WIC: wic-2a/s Cable V.35 Smart Serial Switch: Cisco Catalyst 2950 Series Swich

I. Upgrading a Switch by Using Network Assistant


Step 1: Ci t IP, username, password. Step 2: Qun l Switch qua phn mm Cisco Network Assistant Step 3: To upgrade a switch by using Network Assistant, choose Maintenance>Software Upgrade from the feature bar. Note: xa IOS c i trc khi nng cp IOS mi cho switch (khng flash).

II. Upgrading a Switch by Using the CLI


Note: xa IOS c i trc khi nng cp IOS mi cho switch (khn flash).

Step 1 If your PC or workstation cannot act as a TFTP server, copy the file to a TFTP server to which you have access. Step 2 Log into the switch by starting a Telnet session or by connecting to the switch console port through the RS-232 connector. To start a Telnet session on your PC or workstation, enter this command:
server% telnet switch_ip_address

Enter the Telnet password if you are prompted to do so.

page 1 of 2

PDF created with pdfFactory trial version www.pdffactory.com

Step 3 Enter privileged EXEC mode:


switch> enable switch#

Enter the password if you are prompted to do so. Step 4 Tin hnh thao tc nng cp IOS cho switch t server.
switch# archive tar /x tftp://server_ip_address/path/filename.tar flash: Loading /path/filename.tar from server_ip_address (via VLAN1):!) extracting info (110 bytes) extracting c2950-i6q4l2-mz.121-13.EA1c.bin bytes)!!!!!!!!!!!!!!!!!!!! html/ (directory) extracting html/Detective.html.gz (1139 bytes)! extracting html/ieGraph.html.gz (553 bytes) extracting html/DrawGraph.html.gz (787 bytes) extracting html/GraphFrame.html.gz (802 bytes)!

(2239579

Step 5 Kim tra ng dn boot file IOS xem ng vi IOS mi cha. Nu cha ng th sa theo step 6, 7, 8
switch# show boot BOOT path-list: Config file: Enable Break: Manual Boot: HELPER path-list: NVRAM/Config file buffer size: 32768 flash:current_image flash:config.text 1 no

Step 6 Enter global configuration mode:


switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z.

Step 7 Enter the boot command with the name of the new image filename:
switch(config)# boot system flash:new_image

Step 8 Reload the new software with this command:


switch# reload System configuration has been modified. Save? [yes/no]:y Proceed with reload? [confirm]

page 2 of 2

PDF created with pdfFactory trial version www.pdffactory.com

Das könnte Ihnen auch gefallen