Thứ Ba, 5 tháng 6, 2012

Giảm thời gian upgrade IOS - hàng sưu tầm

Xin nói trước, cái này mèo sưu tầm, chưa thử được do hổng có con 2800, cài cái GNS lên thì phê wa', đang xài Vista nữa nên ....
Tính năng này được dùng để giảm thời gian upgrade hệ điều hành IOS, theo mô tả thì nó upgrade lên phiên bản 12.4.15-T5. Tính năng này được thực hiện bằng cách đọc các hệ điều hành từ tftp sau đó decompress và ghi chồng lên file cũ, thời gian nó test là 45s cho 1 file 45Mb. Trong quá trình download từ tftp và decompress thì router vẫn hoạt động bình thường, và chỉ khi ghi đè lên mới lâu thôi....
Đây là đoạn nó làm đó, copy lại, lệnh thì ít quá trời...
Router# reload warm file tftp://1.1.1.1/c2800nm-advipservicesk9-mz.124-15.T5.bin 

System configuration has been modified. Save? [yes/no]: yes
Building configuration...
[OK]
Proceed with reload? [confirm]
Loading c2800nm-advipservicesk9-mz.124-15.T5.bin from 1.1.1.1 (via FastEthernet0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 51130820 bytes]
Decompressing the image : #################################################################
[OK]

*May 19 16:31:47.031: %SYS-5-RELOAD: Reload requested by root on console. Reload Reason: Reload command.
Smart Init is enabled
smart init is sizing iomem
  ID            MEMORY_REQ                 TYPE
0003E7          0X00473800 C2811 Mainboard
                0X00264050 Onboard VPN
                0X000021B8 Onboard USB
                0X002C29F0 public buffer pools
                0X00211000 public particle pools
TOTAL:          0X00BAD3F8

If any of the above Memory Requirements are 
"UNKNOWN", you may be using an unsupported
configuration or there is a software problem and
system operation may be compromised.
Rounded IOMEM up to: 12Mb.
Using 4 percent iomem. [12Mb/256Mb]

              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 IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(15)T5, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Wed 30-Apr-08 14:17 by prod_rel_team
Image text-base: 0x400A9768, data-base: 0x43760000


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Installed image archive
Cisco 2811 (revision 49.46) with 249856K/12288K bytes of memory.
Processor board ID FTX1111111
2 FastEthernet interfaces
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)



Press RETURN to get started!


*May 19 16:32:22.859: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0  State changed to: Initialized 
*May 19 16:32:22.863: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0  State changed to: Enabled 
*May 19 16:32:24.531: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up
*May 19 16:32:24.531: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*May 19 16:32:24.531: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*May 19 16:32:24.531: %LINEPROTO-5-UPDOWN: Line protocol on Interface IPv6-mpls, changed state to up
*May 19 16:32:25.919: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
*May 19 16:32:25.919: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
*May 19 16:32:26.431: %SYS-5-CONFIG_I: Configured from memory by console
*May 19 16:32:29.219: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down
*May 19 16:32:29.455: %SYS

Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(15)T5, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Wed 30-Apr-08 14:17 by prod_rel_team
*May 19 16:32:29.459: %SNMP-5-COLDSTART: SNMP agent on host yourname is undergoing a cold start
*May 19 16:32:29.691: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*May 19 16:32:29.691: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
*May 19 16:32:29.691: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*May 19 16:32:29.691: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
*May 19 16:32:34.055: %SYS-6-BOOTTIME: Time taken to reboot after reload =   47 seconds---------------------------------------------------------

User Access Verification
Username: root
Password: 

Router>
*May 19 16:32:39.871: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 1.1.1.1, mask 255.255.0.0, hostname yourname




Không có nhận xét nào:

Đăng nhận xét