Cisco Engine Memory

如何查看Cisco Sup720的SP与RP的内存和FLASH状态
首先Cisco 720引擎由SP(Switch Processor)和RP(Route Processor)组成,完整的引擎上会有3个
部分:一是最下面那块大板(引擎),另一个是右边的一块子卡(PFC),最后是左边的子卡
(MSFC),引擎和PFC合称交换引擎(SP),MSFC称路由引擎(RP)。
SP和RP是独立的操作系统,所以各自有Flash和Memory。如上图(图片来源于Cisco官方文档),
左边的Flash和内存属于SP,右边的Flash和内存属于RP。
另外,Flash有内置和外置之分。内置的叫bootflash,外置的在Sup1上叫Slot0:,从Sup2开始,Cisco
支持ATA格式的PCMCIA Flash,因此Sup2上会有Slot0:和Disk0:,如果是MEM格式的用Slot0:,如果
是ATA格式的用Disk0:,到Sup720,开始用CF卡,也就只支持ATA格式了。SP上的所有设备都会有个
sup-的前缀,所以sup-bootflash:就是SP上的Flash,sup-slot0:就是SP上的PCMCIA插槽。而RP上的Flash
则直接是bootflash。
注意:在从CatOS升级到IOS之后,原先引擎中的bootflash会被改名为sup-bootflash,而原先MSFC
的bootflash会被认为是升级后的引擎的bootflash。虽然如此,但6500/7600是不能通过MSFC的bootflash
上的IOS启动的,而必须通过sup-bootflash中的IOS启动。即,运行Native IOS时,IOS文件必须被放置
在sup-bootflash中,才会启动。放在bootflash是可以的,但无法启动。
如果是运行CatOS 加MSFC 的IOS 时,SP(Swtich processer)作为SUP 引擎的主控系统(运行
CatOS),MSFC作为引擎的RP(Router Processer)子卡存在(运行IOS),在这种情况下CatOS文件和
IOS文件是相互独立的两个文件。
但Native IOS文件同时包含了RP部分和SP部分。所以如果是运行Native IOS,那么引擎先从SP引导,
读取IOS中SP的部分,加载成功后将控制转到RP,进行RP部分的引导,但由于RP中的Flash是没有
IOS的(放在里面也不会被启动),所以用TFTP的形式从SP下载IOS中的RP部分,引导完后,控制权
留在RP上,因此在启动完成后的引擎上show version,可以发现IOS版本与flash中的文件稍有不同,会
有一个rp的字样,这表示的RP部分,而切换到SP的Console后再show version则可以看到sp的字样。
说明:通过命令remote command switch show version可以直接显示SP 控制台的show version命令。或
者执行remote command module x show version(其中x代表引擎的槽位号)也是一样的。如果想直接登陆到SP的控制台,可以通过执行remote login switch,或者remote login module x(x代表引擎的槽位号)。
这些命令在升级SUP2的内存和FLASH时用于确定信息比较有用。
案例:
C7609#dir sup-bootflash:
Directory of sup-bootdisk:/
1 -rw- 83574340 May 28 2007 16:18:10 +08:00 s72033-adventerprisek9_wan-mz.122-18.SXF9.bin
512040960 bytes total (394903552 bytes free)
C7609#dir bootflash:
Directory of bootflash:/
1 -rwx 48420612 May 24 2007 20:23:24 +08:00 s72033-jk9o3sv-mz.122-18.SXD7b.bin
65536000 bytes total (16818096 bytes free)
由上面的显示结果可知,sup-bootflash的大小为512MB,bootflash的大小为64MB。即,SP的flash大
小为512MB,RP的flash大小为64MB。
C7609#show version
Cisco Internetwork Operating System Software
IOS (tm) s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-M), Version 12.2(18)SXF9, RELEASE
SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by cisco Systems, Inc.
Compiled Wed 16-May-07 22:48 by kellythw
Image text-base: 0x40101040, data-base: 0x42DB07F0
ROM: System Bootstrap, Version 12.2(17r)S4, RELEASE SOFTWARE (fc1)
BOOTLDR: s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-M), Version 12.2(18)SXF9,
RELEASE SOFTWARE (fc1)
C7609 uptime is 36 weeks, 6 days, 1 hour, 42 minutes
Time since C7609 switched to active is 36 weeks, 6 days, 1 hour, 41 minutes
System returned to ROM by power cycle at 16:24:29 GMT Mon May 28 2007 (SP by power on)
System image file is "sup-bootdisk:s72033-adventerprisek9_wan-mz.122-18.SXF9.bin"
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
[email protected].
cisco CISCO7609 (R7000) processor (revision 1.2) with 458720K/65536K bytes of memory.
Processor board ID ******
SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache
Last reset from s/w reset
SuperLAT software (copyright 1990 by Meridian Technology Corp).
X.25 software, Version 3.0.0.
Bridging software.
TN3270 Emulation software.
14 Virtual Ethernet/IEEE 802.3 interfaces
76 Gigabit Ethernet/IEEE 802.3 interfaces
1917K bytes of non-volatile configuration memory.
8192K bytes of packet buffer memory.
65536K bytes of Flash internal SIMM (Sector size 512K).
Configuration register is 0x2102
执行show version,从上面的输出可以看到显示的是RP 部分,带有64MB 的flash 和512MB(由
458720K/65536K相加得到)的内存。
C7609#remote command switch show version
Cisco Internetwork Operating System Software
IOS (tm) s72033_sp Software (s72033_sp-ADVENTERPRISEK9_WAN-M), Version 12.2(18)SXF9, RELEASE
SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by cisco Systems, Inc.
Compiled Wed 16-May-07 22:56 by kellythw
Image text-base: 0x40101040, data-base: 0x41465EE0
ROM: System Bootstrap, Version 8.4(2) Release
BOOTLDR: s72033_sp Software (s72033_sp-ADVENTERPRISEK9_WAN-M), Version 12.2(18)SXF9,
RELEASE SOFTWARE (fc1)
C7609 uptime is 36 weeks, 6 days, 1 hour, 52 minutes
Time since C7609_2 switched to active is 36 weeks, 6 days, 2 hours, 4 minutes
System returned to ROM by power on
System image file is "bootdisk:s72033-adventerprisek9_wan-mz.122-18.SXF9.bin"
cisco Catalyst 6000 (R7000) processor with 458720K/65536K bytes of memory.
Processor board ID ******
SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache
Last reset from power-on
X.25 software, Version 3.0.0.
76 Gigabit Ethernet/IEEE 802.3 interfaces
1917K bytes of non-volatile configuration memory.
8192K bytes of packet buffer memory.
500472K bytes of Internal ATA PCMCIA card (Sector size 512 bytes).
Configuration register is 0x2102
执行remote command switch show version,从上面的输出可以看到显示的是SP部分,带有512MB的
flash和512MB的内存。
登陆到SP:
C7609#remote login switch
Trying Switch ...
Entering CONSOLE for Switch
Type "^C^C^C" to end this session
C7609-sp#show version
Cisco Internetwork Operating System Software
IOS (tm) s72033_sp Software (s72033_sp-ADVENTERPRISEK9_WAN-M), Version 12.2(18)SXF9, RELEASE
SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by cisco Systems, Inc.
Compiled Wed 16-May-07 22:56 by kellythw
Image text-base: 0x40101040, data-base: 0x41465EE0
ROM: System Bootstrap, Version 8.4(2) Release
BOOTLDR: s72033_sp Software (s72033_sp-ADVENTERPRISEK9_WAN-M), Version 12.2(18)SXF9,
RELEASE SOFTWARE (fc1)
C7609_2 uptime is 36 weeks, 6 days, 1 hour, 56 minutes
Time since C7609_2 switched to active is 36 weeks, 6 days, 2 hours, 8 minutes
System returned to ROM by power on
System image file is "bootdisk:s72033-adventerprisek9_wan-mz.122-18.SXF9.bin"
cisco Catalyst 6000 (R7000) processor with 458720K/65536K bytes of memory.
Processor board ID ********
SR71000 CPU at 600Mhz, Implementation 0x504, Rev 1.2, 512KB L2 Cache
Last reset from power-on
X.25 software, Version 3.0.0.
76 Gigabit Ethernet/IEEE 802.3 interfaces
1917K bytes of non-volatile configuration memory.
8192K bytes of packet buffer memory.
500472K bytes of Internal ATA PCMCIA card (Sector size 512 bytes).
Configuration register is 0x2102
可以看到执行remote login switch就可以将控制台从RP切换到SP。在SP下执行show version与在RP
下直接执行remote command switch show version的效果是一样的。

你可能感兴趣的:(memory,engin)