• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Lab 1-12: Nạp IOS image cho switch 2900, 3500

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lab 1-12: Nạp IOS image cho switch 2900, 3500

    Lab 1-12: 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#
    Last edited by tranmyphuc; 25-08-2008, 10:21 PM.
    Email : vnpro@vnpro.org
    ---------------------------------------------------------------------------------------------------------------
Trung Tâm Tin Học VnPro
149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
Tel : (08) 35124257 (5 lines)
Fax: (08) 35124314

Home page: http://www.vnpro.vn
Support Forum: http://www.vnpro.org
- Chuyên đào tạo quản trị mạng và hạ tầng Internet
- Phát hành sách chuyên môn
- Tư vấn và tuyển dụng nhân sự IT
- Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

Network channel: http://www.dancisco.com
Blog: http://www.vnpro.org/blog

  • #2
    Admin ơi fix lại các hình này đi
    CCNA v5 | CCNA 5 | CCNA v5| CCNA v5 Blog

    Comment


    • #3
      Thank bác admin. Bài này rất hay và chất lượng. Bác có thêm kinh nghiệm nào về xử lý switch chia sẻ cho mọi người nưa thì tốt quá.

      Comment


      • #4
        giả sử trong Flash: có 2 IOS ab, làm sao để mình cấu hình mỗi lần Switch boot lên nó sẽ chọn IOS b làm IOS mặc định boot từ đầu?
        trying....

        Comment


        • #5
          thanks admin

          Comment


          • #6
            Originally posted by tindecken View Post
            giả sử trong Flash: có 2 IOS ab, làm sao để mình cấu hình mỗi lần Switch boot lên nó sẽ chọn IOS b làm IOS mặc định boot từ đầu?
            bạn dùng lệnh

            boot system flash:b
            Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

            Email : dangquangminh@vnpro.org
            https://www.facebook.com/groups/vietprofessional/

            Comment

            • Working...
              X