|
||||||||
|
||||||||
|
4. Managing Your Network Enviroment Cisco Discovery Protocol (CDP), Router Booting Sequence, Managing IOS Images |
|
Công Cụ | Xếp Bài |
11-08-2009, 11:34 PM | #1 |
Administrator
Gia nhập: Jul 2009
Trả Lời: 152
|
Lab 6: Nạp IOS image cho switch 2900, 3500
Lab 6: Nạp IOS image cho switch 2900, 3500
Mô tả –Bài thực hành này mô tả cách nạp IOS image cho switch 2900 và 3500 series. –PC nối với switch qua cổng console. IOS image sẽ chứa trong PC và được truyền qua Catalyst switch bằng giao thức xmodem. Thực hiện 1. Quá trình boot của switch 2900 khi mất IOS image: C2900XL Boot Loader (C2900-HBOOT-M) Version 12.0(5.1)XP, MAINTENANCE INTERIM SOFTWARE Compiled Fri 10-Dec-99 11:06 by cchang starting... Base ethernet MAC Address: 00:b0:64:c9:cd:40 Xmodem file system is available. Initializing Flash... flashfs[0]: 3 files, 1 directories flashfs[0]: 0 orphaned files, 0 orphaned directories flashfs[0]: Total bytes: 3612672 flashfs[0]: Bytes used: 3584 flashfs[0]: Bytes available: 3609088 flashfs[0]: flashfs fsck took 2 seconds. ...done Initializing Flash. Boot Sector Filesystem (bs installed, fsid: 3 Parameter Block Filesystem (pb installed, fsid: 4 The system is unable to boot automatically because there are no bootable files to boot. Switch không tìm thấy IOS image switch: 2. Copy IOS image từ xmodem vào flash, lấy tên là bootfile switch: copy xmodem: flash:bootfile Begin the Xmodem or Xmodem-1K transfer now... –Sau khi switch xuất hiện dòng thông báo trên, ở cửa sổ Hyper Terminal, chọn Transfer/Send File. Chọn IOS image cần truyền từ PC, chọn protocol là xmodem. Phải thực hiện việc này trong vòng 3 giây, nếu không switch sẽ bị timeout quá trình nhận file. CC................................................ ............................ .................................................. ............................ .............. File "xmodem:" successfully copied to "flash:bootfile" quá trình copy đã hoàn tất 3. Cấu hình cho switch boot bằng IOS image vừa được copy switch: boot flash:bootfile Loading "flash:bootfile"...########################### #### ############################ ################################################## ############################ ################## File "flash:bootfile" uncompressed and installed, entry point: 0x3000 executing... cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) C2900XL Software (C2900XL-C3H2S-M), Version 12.0(5.2)XU, MAINTENANCE INTERIM SOFTWARE Copyright (c) 1986-2000 by cisco Systems, Inc. Compiled Mon 17-Jul-00 17:35 by ayounes Image text-base: 0x00003000, data-base: 0x00301F3C Initializing C2900XL flash... flashfs[1]: 4 files, 1 directories flashfs[1]: 0 orphaned files, 0 orphaned directories flashfs[1]: Total bytes: 3612672 flashfs[1]: Bytes used: 1649664 flashfs[1]: Bytes available: 1963008 flashfs[1]: flashfs fsck took 6 seconds. flashfs[1]: Initialization complete. ...done Initializing C2900XL flash. C2900XL POST: System Board Test: Passed C2900XL POST: Daughter Card Test: Passed C2900XL POST: CPU Buffer Test: Passed C2900XL POST: CPU Notify RAM Test: Passed C2900XL POST: CPU Interface Test: Passed C2900XL POST: Testing Switch Core: Passed C2900XL POST: Testing Buffer Table: Passed C2900XL POST: Data Buffer Test: Passed C2900XL POST: Configuring Switch Parameters: Passed C2900XL POST: Ethernet Controller Test: Passed C2900XL POST: MII Test: Passed cisco WS-C2912-XL (PowerPC403GA) processor (revision 0x11) with 8192K/1024K bytes of memory. Processor board ID FAB0403W0LS, with hardware revision 0x01 Last reset from warm-reset Processor is running Enterprise Edition Software Cluster command switch capable Cluster member switch capable 12 FastEthernet/IEEE 802.3 interface(s) 32K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address: 00:B0:64:C9:CD:40 Motherboard assembly number: 73-3397-07 Power supply part number: 34-0834-01 Motherboard serial number: FAB040263DN Power supply serial number: PHI034005GP Model revision number: A0 Model number: WS-C2912-XL-EN System serial number: FAB0403W0LS_ Press RETURN to get started! Switch>enable Switch# 4. Dùng lệnh show flash để xem nội dung bộ nhớ flash Switch#show flash: Directory of flash:/ 2 -rwx 1645824 Jan 01 1970 00:37:30 bootfile 4 -rwx 776 Mar 01 1993 01:00:44 vlan.dat 6 -rwx 17 Jan 01 1970 00:00:56 env_vars 7 -rwx 765 Mar 01 1993 00:59:17 config.text 3612672 bytes total (1963008 bytes free) Switch# 5. Dùng lệnh show boot để kiểm tra các tham số boot Switch#show boot BOOT path-list: Config file: flash:config.text Enable Break: yes Manual Boot: no HELPER path-list: NVRAM/Config file buffer size: 32768 Switch# __________________ Theo: Viet Professionals Co. Ltd. VnPro ® |
|
|