思科7600系列路由器SUP720引擎启动过程详解
下面是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的加载过程
- System Bootstrap, Version 12.2(33r)SRB4, RELEASE SOFTWARE (fc1) //SP 中的 ROM 执行引导加载程序
- Technical Support: http://www.cisco.com/techsupport
- Copyright (c) 2007 by cisco Systems, Inc.
- C7600-RSP720/SP platform with 1048576 Kbytes of main memory // switch process 先行启动,进行初始化
- Autoboot executing command: “boot bootdisk:c7600rsp72043-advipservicesk9-mz.122-33.SRD5.bin” //通过bootfile 加载 flash中的IOS
- Initializing ATA monitor library… //SP 中的的 montior 进行设备自检
- Self extracting the image… [OK] //IOS执行自我解压缩
- Self decompressing the image : ###########################################此处省略##
- 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, c7600rsp72043_sp Software (c7600rsp72043_sp-ADVIPSERVICESK9-M), Version 12.2(33)SRD5, RELEASE SOFTWARE (fc2) //加载SP软件
- Technical Support: http://www.xiaoxiongboke.com
- Copyright (c) 1986-2010 by Cisco Systems, Inc.
- Compiled Sat 02-Oct-10 18:47 by prod_rel_team
- Image text-base: 0x0800015C, data-base: 0x0C000000
- *Aug 14 16:09:48.079: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.
- *Aug 14 16:09:44.851: %PFREDUN-6-ACTIVE: Initializing as ACTIVE processor //进行进程初始化
- *Aug 14 16:09:48.079: %OIR-SP-6-CONSOLE: Changing console ownership to route processor //SP进程初始完成移交给 RP 进程
———————下面进行 RP的IOS加载过程 同 SP 过程
- System Bootstrap, Version 12.2(33r)SRB4, RELEASE SOFTWARE (fc1)
- Technical Support: http://www.cisco.com/techsupport
- Copyright (c) 2007 by cisco Systems, Inc.
- C7600-RSP720/RP platform with 1048576 Kbytes of main memory
- Download Start
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!此处省略!!!!
- Download Completed! Booting the image.
- Self decompressing the image : ########################################此处省略######
- 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, c7600rsp72043_rp Software (c7600rsp72043_rp-ADVIPSERVICESK9-M), Version 12.2(33)SRD5, RELEASE SOFTWARE (fc2)
- Technical Support: http://www.cisco.com/techsupport
- Copyright (c) 1986-2010 by Cisco Systems, Inc.
- Compiled Sat 02-Oct-10 18:39 by prod_rel_team
- Image text-base: 0×08000224, data-base: 0×10000000
- 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.
- Cisco CISCO7609-S (M8500) processor (revision 1.0) with 917504K/65536K bytes of memory. // 全部加载完成,进行配置的加载
- Processor board ID FOX1138114F
- BASEBOARD: RSP720
- CPU: MPC8548_E, Version: 2.0, (0×80390020)
- CORE: E500, Version: 2.0, (0×80210020)
- CPU:1200MHz, CCB:400MHz, DDR:200MHz,
- L1: D-cache 32 kB enabled
- I-cache 32 kB enabled
- Last reset from power-on
- 1 Virtual Ethernet interface
- 148 Gigabit Ethernet interfaces
- 8 Ten Gigabit Ethernet interfaces
- 3964K bytes of non-volatile configuration memory.
- 500472K bytes of Internal ATA PCMCIA card (Sector size 512 bytes).
- % Hostname “xxx-NGN-CE04-C ” is not a legal LAT node name, Using “CISCO_000000″
- %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
- Press RETURN to get started! // 进入Console CLI模式