NP IOS IMAGE CHO 2 ROUTER CH YT FLASH

Một phần của tài liệu Quản trị mạng lan wan CCNA trọn bộ phần 1 (Trang 36 - 41)

1. Mơ t bài lab và đ hình :

Bài th c hành này gíup b n th c hi n vi c n p IOS image t Flash c a Router này sang Router kia.

Hai router đ c n i v i nhau b ng cáp serial. a ch các interface đ c ghi trên hình.

2. Các b c th c hi n :

B n c u hình cho 2 Router nh sau:

Vsic1#sh run

Building configuration...

Current configuration : 440 bytes !

version 12.1

no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Vsic1 ! ip subnet-zero ! interface Ethernet0 no ip address shutdown ! interface Serial0 ip address 10.0.0.1 255.0.0.0 clockrate 64000 ! interface Serial1 no ip address shutdown ! ip classless ip http server ! line con 0

VSIC Education Corporation Trang 37 line aux 0 line vty 0 4 ! end Vsic2#sh run Building configuration...

Current configuration : 448 bytes !

version 12.1

no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Vsic2 ! ip subnet-zero ! interface Ethernet0 no ip address shutdown ! interface Serial0 ip address 10.0.0.2 255.0.0.0 no fair-queue ! interface Serial1 no ip address shutdown ! ip classless ip http server ! line con 0 line aux 0 line vty 0 4 ! end

Chúng ta ki m tra flash c a hai router :

Vsic1#sh flash

System flash directory: File Length Name/status

1 8038440 /c2500-i-l.121-25.bin //T ên File IOS Image// [8038504 bytes used, 350104 available, 8388608 total]

VSIC Education Corporation Trang 38

Vsic2#sh flash

System flash directory: File Length Name/status

1 8039140 c2500-i-l.121-26.bin

[8039204 bytes used, 8738012 available, 16777216 total] 16384K bytes of processor board System flash (Read ONLY)

th c hi n vi c copy IOS image t Router Vsic1 sang Router Vsic2, b n ph i m ch đ TFTP server cho Router Vsic1.

Vsic1(config)#tftp-server flash:

Vsic1(config)#tftp-server flash:c2500-i-l.121-26.bin Vsic1(config)#^Z

B n th c hi n vi c Copy IOS t Router Vsic2 Vsic2#copy tftp flash:

**** NOTICE **** Flash load helper v1.0

This process will accept the copy options and then terminate

the current system image to use the ROM based image for the copy. Routing functionality will not be available during that time.

If you are logged in via telnet, this connection will terminate. Users with console access can see the results of the copy operation. ---- ******** ----

Proceed? [confirm]

Address or name of remote host []? 10.0.0.1 a ch Router Vsic1(Serial0)

Source filename []? c2500-i-l.121-26.bin Tên file IOS image Destination filename [c2500-i-l.121-26.bin]? Tên File đích trong Router Vsic2

Accessing tftp://10.0.0.1/c2500-i-l.121-26.bin...

Erase flash: before copying? [confirm] Xác nh n vi c copy 00:02:57: %SYS-5-RELOAD: Reload requested

%SYS-4-CONFIG_NEWER: Configurations from version 12.1 may not be correctly understood.

%FLH: c2500-i-l.121-26.bin from 10.0.0.1 to flash ... System flash directory:

File Length Name/status

1 8038440 /c2500-i-l.121-25.bin

[8038504 bytes used, 350104 available, 8388608 total] Accessing file 'c2500-i-l.121-26.bin' on 10.0.0.1...

Loading c2500-i-l.121-26.bin from 10.0.0.1 (via Serial0): ! [OK]

Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased Q trình xố Flash Loading c2500-i-l.121-26.bin from 10.0.0.1 (via Serial0): Quá trình n p IOS

VSIC Education Corporation Trang 39 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[OK - 8039140/8388608 bytes] Verifying checksum... OK (0x9693) Flash copy took 0:22:28 [hh:mm:ss] %FLH: Re-booting system after download F3: 7915484+123624+619980 at 0x3000060 Restricted Rights Legend

Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc. 170 West Tasman Drive

San Jose, California 95134-1706

Cisco Internetwork Operating System Software

IOS (tm) 2500 Software (C2500-I-L), Version 12.1(26), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Sat 16-Oct-04 02:44 by cmong

Image text-base: 0x03042000, data-base: 0x00001000

cisco 2500 (68030) processor (revision N) with 6144K/2048K bytes of memory. Processor board ID 17553463, with hardware revision 00000000

Bridging software.

X.25 software, Version 3.0.0. 1 Ethernet/IEEE 802.3 interface(s) 2 Serial network interface(s)

32K bytes of non-volatile configuration memory.

8192K bytes of processor board System flash (Read ONLY)

Press RETURN to get started! Router s reset l i sau khi n p IOS m i

00:00:05: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up 00:00:05: %LINK-3-UPDOWN: Interface Serial0, changed state to up 00:00:06: %LINK-3-UPDOWN: Interface Serial1, changed state to down

00:00:07: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up

00:00:14: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to down

VSIC Education Corporation Trang 40 00:00:16: %LINK-5-CHANGED: Interface Ethernet0, changed state to administratively down

00:00:16: %SYS-5-CONFIG_I: Configured from memory by console

00:00:20: %LINK-5-CHANGED: Interface Serial1, changed state to administratively down

00:00:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up

00:00:22: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down

00:01:00: %SYS-5-RESTART: System restarted -- Cisco Internetwork Operating System Software

IOS (tm) 2500 Software (C2500-I-L), Version 12.1(26), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Sat 16-Oct-04 02:44 by cmong Vsic2>

B n có th ki m tra Flash l i b ng l nh show flash Vsic2>sh flash

System flash directory: File Length Name/status

1 8039140 /c2500-i-l.121-26.bin

[8039204 bytes used, 349404 available, 8388608 total] 8192K bytes of processor board System flash (Read ONLY)

L u ý: Vì đây b n s d ng 2 Router có b nh Flash b ng nhau nên b t bu t b n ph i th c hi n vi c xóa Flash c trong quá trình th c hi n copy Flash m i, nh ng trong tr ng h p b n s d ng các lo i Router có b nh Flash l n, còn đ b nh đ l u thêm IOS image (b n dùng l nh Show Flash hay Show version đ ki m tra) thì b n khơng c n ph i xóa Flash, đi u này có ngh a là b n có th l u 2, 3 hay nhi u IOS trên Flash tùy thu c vào kh n ng l u tr c a Flash.Lúc này b n ph i khai báo cho Router bi t ph i dùng IOS Image nào đ kh i đ ng, b n dùng l nh Boot System flash trong mode config đ th c hi n quá trình khai báo này .

VSIC Education Corporation Trang 41

BÀI 8:N P IOS CHO SWITCH 1. Gi i thi u chung v switch 2950 :

Một phần của tài liệu Quản trị mạng lan wan CCNA trọn bộ phần 1 (Trang 36 - 41)

Tải bản đầy đủ (PDF)

(127 trang)