A-A+

思科7600系列路由器SUP720引擎启动过程详解

2015年11月25日 站长资讯 暂无评论

下面是CISCO SUP720系列router的启动过程详解:

一、 上电自检过程

(1) 引擎加电后,由电源电路来完成引擎的上电和对线卡的基本信息的访问。

其中,电源管理芯片(U71)的工作电压主要是有背叛的A3.3V(经P1)提供。

(2) 同时,系统控制器(U66) 也会对电路进行检测,将检测到的信息与U58(EEPROM)里面的信息进行对照,根据结果发给电源管理芯片(U71)一个信号,来决定是否继续给电路加电。

(3) 在加电自检(POST)过程中,引擎执行ROM内的加电自检诊断程序,对CPU,内存、网络接口的情况进行检查。

确定硬件正常后,开始对软件进行初始化过程。

二、软件初始化过程

(1)首先,执行ROM(SP中的BOOTROM)中引导加载程序 (GENERIC BOOTSTRP LOADER)
ROM 在SP和RP的软件控制之下,SP和RP的boot code 在flash中,ROM monitor和boothelper也在FLASH中。

(2)其次,系统对软件进行引导,启动映像。从FLASH中加载CISCO IOS 软件。将IOS的内容复制到内存中,在内存中运行。

Cisco IOS 软件存放的地方很多,缺省从FLASH中查找IOS软件映像,实际加载过程是根据配置寄存器的启动字段(bootfield)来加载。

(3)IOS 加载细微过程。SP 初始自己的启动进程,解压IOS中SP的镜像,加载到SP 的DRAM,当switch Processor镜像完全启动,移交个RP,进行RP启动。Router processor 从Flash (botflash)中下载RP镜像到RP DRAM中进行解压缩,等到全部解压缩之后进入console CLI,同时查找有效的配置文件,一般这些配置文件保存到NVRAM中,然后将这些配置文件加载入主存中,然后逐行执行。

一下通过一台7609设备的启动过程 详细介绍 IOS的加载过程

  1. System Bootstrap, Version 12.2(33r)SRB4, RELEASE SOFTWARE (fc1) //SP 中的 ROM 执行引导加载程序  
  2. Technical Support: http://www.cisco.com/techsupport  
  3. Copyright (c) 2007 by cisco Systems, Inc.  
  4. C7600-RSP720/SP platform with 1048576 Kbytes of main memory // switch process 先行启动,进行初始化  
  5.   
  6. Autoboot executing command: “boot bootdisk:c7600rsp72043-advipservicesk9-mz.122-33.SRD5.bin” //通过bootfile 加载 flash中的IOS  
  7.   
  8. Initializing ATA monitor library… //SP 中的的 montior 进行设备自检  
  9.   
  10. Self extracting the image… [OK] //IOS执行自我解压缩  
  11. Self decompressing the image : ###########################################此处省略##  
  12. Restricted Rights Legend  
  13.   
  14. Use, duplication, or disclosure by the Government is  
  15. subject to restrictions as set forth in subparagraph  
  16. (c) of the Commercial Computer Software – Restricted  
  17. Rights clause at FAR sec. 52.227-19 and subparagraph  
  18. (c) (1) (ii) of the Rights in Technical Data and Computer  
  19. Software clause at DFARS sec. 252.227-7013.  
  20.   
  21. cisco Systems, Inc.  
  22. 170 West Tasman Drive  
  23. San Jose, California 95134-1706  
  24.   
  25. Cisco IOS Software, c7600rsp72043_sp Software (c7600rsp72043_sp-ADVIPSERVICESK9-M), Version 12.2(33)SRD5, RELEASE SOFTWARE (fc2) //加载SP软件  
  26. Technical Support: http://www.xiaoxiongboke.com  
  27. Copyright (c) 1986-2010 by Cisco Systems, Inc.  
  28. Compiled Sat 02-Oct-10 18:47 by prod_rel_team  
  29. Image text-base: 0x0800015C, data-base: 0x0C000000  
  30. *Aug 14 16:09:48.079: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.  
  31.   
  32. *Aug 14 16:09:44.851: %PFREDUN-6-ACTIVE: Initializing as ACTIVE processor //进行进程初始化  
  33.   
  34. *Aug 14 16:09:48.079: %OIR-SP-6-CONSOLE: Changing console ownership to route processor //SP进程初始完成移交给 RP 进程  

———————下面进行 RP的IOS加载过程 同 SP 过程

  1. System Bootstrap, Version 12.2(33r)SRB4, RELEASE SOFTWARE (fc1)  
  2. Technical Support: http://www.cisco.com/techsupport  
  3. Copyright (c) 2007 by cisco Systems, Inc.  
  4. C7600-RSP720/RP platform with 1048576 Kbytes of main memory  
  5.   
  6. Download Start  
  7. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!此处省略!!!!  
  8. Download Completed! Booting the image.  
  9. Self decompressing the image : ########################################此处省略######  
  10. Restricted Rights Legend  
  11.   
  12. Use, duplication, or disclosure by the Government is  
  13. subject to restrictions as set forth in subparagraph  
  14. (c) of the Commercial Computer Software – Restricted  
  15. Rights clause at FAR sec. 52.227-19 and subparagraph  
  16. (c) (1) (ii) of the Rights in Technical Data and Computer  
  17. Software clause at DFARS sec. 252.227-7013.  
  18.   
  19. cisco Systems, Inc.  
  20. 170 West Tasman Drive  
  21. San Jose, California 95134-1706  
  22.   
  23. Cisco IOS Software, c7600rsp72043_rp Software (c7600rsp72043_rp-ADVIPSERVICESK9-M), Version 12.2(33)SRD5, RELEASE SOFTWARE (fc2)  
  24. Technical Support: http://www.cisco.com/techsupport  
  25. Copyright (c) 1986-2010 by Cisco Systems, Inc.  
  26. Compiled Sat 02-Oct-10 18:39 by prod_rel_team  
  27. Image text-base: 0×08000224, data-base: 0×10000000  
  28. This product contains cryptographic features and is subject to United  
  29. States and local country laws governing import, export, transfer and  
  30. use. Delivery of Cisco cryptographic products does not imply  
  31. third-party authority to import, export, distribute or use encryption.  
  32. Importers, exporters, distributors and users are responsible for  
  33. compliance with U.S. and local country laws. By using this product you  
  34. agree to comply with applicable laws and regulations. If you are unable  
  35. to comply with U.S. and local laws, return this product immediately.  
  36.   
  37. A summary of U.S. laws governing Cisco cryptographic products may be found at:  
  38.   
  39. http://www.cisco.com/wwl/export/crypto/tool/stqrg.html  
  40.   
  41. If you require further assistance please contact us by sending email to  
  42. export@cisco.com.  
  43.   
  44. Cisco CISCO7609-S (M8500) processor (revision 1.0) with 917504K/65536K bytes of memory. // 全部加载完成,进行配置的加载  
  45. Processor board ID FOX1138114F  
  46. BASEBOARD: RSP720  
  47. CPU: MPC8548_E, Version: 2.0, (0×80390020)  
  48. CORE: E500, Version: 2.0, (0×80210020)  
  49. CPU:1200MHz, CCB:400MHz, DDR:200MHz,  
  50. L1: D-cache 32 kB enabled  
  51. I-cache 32 kB enabled  
  52.   
  53. Last reset from power-on  
  54. 1 Virtual Ethernet interface  
  55. 148 Gigabit Ethernet interfaces  
  56. 8 Ten Gigabit Ethernet interfaces  
  57. 3964K bytes of non-volatile configuration memory.  
  58.   
  59. 500472K bytes of Internal ATA PCMCIA card (Sector size 512 bytes).  
  60. % Hostname “xxx-NGN-CE04-C ” is not a legal LAT node name, Using “CISCO_000000″  
  61. %Warning: the ratio between logging persistent size and logging persistent filesize is 128000000/16000, suggested ratio is less than 196 in order to achieve good system performace  
  62.   
  63. Press RETURN to get started! // 进入Console CLI模式  
标签:

给我留言