6500交换机引擎的内存和flash

首先要知道引擎由SP和RP组成,完整的引擎上会有3部分,一是最下面那块大板(引擎),另一个是右边的一块子卡(PFC),最后是左边的子卡(MSFC),引擎和PFC合称交换引擎(SP),MSFC称路由引擎(RP),SP和RP的概念是从720开始的。

SP和RP是独立的操作系统,所以各自有Memory和Flash,如果运行CatOS加MSFC的IOS时,SUP引擎作为主控的SP(Swtich processer),MSFC作为引擎的RP(Router processer),子卡存在。但如果运行Native IOS,那么引擎先从SP引导,读取IOS中SP的部分,加载成功后将Console转到RP,进行RP引导,但由于RP中的Flash是没有IOS,所以用TFTP的形式从SP下载IOS中的RP部分(每次都得下么??),引导完后,控制权留在RP上,因此在启动完成后的引擎上sh ver,你会发现IOS版本不同你在flash中的文件稍有不同,会有一个rp的字样,这表示是rp部分,而切换到SP的Console后sh ver则可以看到sp的字样。

HR-6509B#sh ver
Cisco Internetwork Operating System Software
IOS ™ c6sup2_rp Software (c6sup2_rp-PS-M), Version 12.1(26)E3, RELEASE SOFTWARE (fc1)


Flash分内置和外置,内置的叫bootflash,外置的在Sup1上叫Slot0:,从Sup2开始,Cisco支持ATA格式的PCMCIA Flash,因此Sup2上会有Slot0:和Disk0:,如果是MEM格式的用Slot0:,如果是ATA格式的用Disk0:,到Sup3(720),开始用CF,也就只支持ATA格式了。

现在再来看IOS中的不同的设备就比较清楚了。SP上的所有设备都会有个sup-的前缀,所以sup-bootflash:就是SP上的Flash,sup-slot0:就是SP上的PCMCIA插槽。

至于Flash:设备则是个虚设备,只是一个指针,具体指到哪里用pwd命令看,可以用cd 命令更改。

注意:6509在从CatOS升级到IOS之后,原先引擎的BOOTFLASH会被改名为:SUP-BOOTFLASH。而 原先MSFC的BOOTFLASH会被认为引擎的BOOTFLASH。虽然如此,6509是不能通过MSFC的BOOTFLASH上的IOS启动的。必须 通过SUP-BOOTFLASH。这个要注意!

以下是6509的实例:

cisco WS-C6509 (R7000) processor (revision 2.0) with 227328K/34816K bytes of memory.
Processor board ID SCA044505H0
R7000 CPU at 300Mhz, Implementation 39, Rev 3.3, 256KB L2, 1024KB L3 Cache
Last reset from power-on
X.25 software, Version 3.0.0.
Bridging software.
65 Virtual Ethernet/IEEE 802.3 interface(s)
96 FastEthernet/IEEE 802.3 interface(s)
12 Gigabit Ethernet/IEEE 802.3 interface(s)
381K bytes of non-volatile configuration memory.

32768K bytes of Flash internal SIMM (Sector size 512K).
Standby is up
Standby has 112640K/18432K bytes of memory.

Configuration register is 0x2102
*****************************************************************
6509#sh sup-bootflash:
-#- ED —-type—- –crc— -seek– nlen -length- ———date/time——— name
1 .. image FD002195 E2C184 27 14598404 Dec 04 2006 09:09:14 +08:00 c6sup12-ps-mz.121-26.E3.bin

1392252 bytes available (14598532 bytes used)
*****************************************************************
6509#sh sup-slot0:
-#- ED —-type—- –crc— -seek– nlen -length- ———date/time——— name
1 .. image 5E2B6017 E0E73C 27 14608060 May 29 2007 15:18:36 +08:00 c6sup12-ps-mz.121-26.E8.bin

10164420 bytes available (14608188 bytes used)
*****************************************************************
6509#dir
Directory of slot0:/ !———-因为是simm(mem)所以默认是slot0:

1 -rw- 14608060 May 29 2007 15:18:36 +08:00 c6sup12-ps-mz.121-26.E8.bin

24772608 bytes total (10164420 bytes free)
*****************************************************************
6509#sh run
……
boot system flash slot0:c6sup12-ps-mz.121-26.E8.bin
boot system flash sup-bootflash:c6sup12-ps-mz.121-26.E3.bin

以下是7206VXR (NPE400)的实例:

cisco 7206VXR (NPE400) processor (revision B) with 245760K/16384K bytes of memory.
Processor board ID 33551180
R7000 CPU at 350Mhz, Implementation 39, Rev 3.3, 256KB L2, 4096KB L3 Cache
6 slot VXR midplane, Version 2.9

Last reset from power-on
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
Primary Rate ISDN software, Version 1.1.
Channelized E1, Version 1.0.
2 FastEthernet/IEEE 802.3 interface(s)
46 Serial network interface(s)
40 Channelized E1/PRI port(s)
125K bytes of non-volatile configuration memory.

62976K bytes of ATA PCMCIA card at slot 0 (Sector size 512 bytes).
8192K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x2102
*****************************************************************
BJ72#sh bootflash:
-#- ED —-type—- –crc— -seek– nlen -length- —–date —— name
1 .. image 39A27CBE 6A7EAC 25 6716972 Mar 01 1993 00:02:18 c7200-kboot-mz.123-6e.bin

885076 bytes available (6717100 bytes used)
*****************************************************************
BJ72#dir
Directory of disk0:/ !—因为用的是ATA PCMCIA,所以是disk0:

1 -rw- 23837072 Jul 11 2005 18:52:04 c7200-js-mz.123-14.T2.bin
2 -rw- 18490744 May 22 2006 16:20:18 c7200-js-mz.122-15.T17.bin
3 -rw- 86658 Sep 23 2006 13:51:54 BJ72PE0320060923.txt
4 -rw- 84646 Feb 16 2007 03:31:16 20070216

64225280 bytes total (21692416 bytes free)
*****************************************************************
BJ72#sh disk0:
-#- –length– —–date —— path
1 23837072 Jul 11 2005 18:52:04 c7200-js-mz.123-14.T2.bin
2 18490744 May 22 2006 16:20:18 c7200-js-mz.122-15.T17.bin
3 86658 Sep 23 2006 13:51:54 BJ72PE0320060923.txt
4 84646 Feb 16 2007 03:31:16 20070216

21692416 bytes available (42532864 bytes used)

以下是摘自Cisco官方网站,如需要,请查阅全文!

Flash memory ATA disks and Flash memory cards use similar commands. The primary syntax change is that disk0: or disk1: refers to Flash memory ATA disks, while slot0: or slot1: refers to Flash memory cards. Generally, use the syntax slot0: for Flash memory cards less than 20 MB, and use disk0: for Flash disk greater than 20 MB. Keep in mind that there are 32 MB linear PCMCIA Flash cards where you use slot0:.

To see which Flash cards are used in your router, use the show

version command and look at the bottom portion of the output!

本文出自 Frank's Blog

版权声明:


本文链接:6500交换机引擎的内存和flash
版权声明:本文为原创文章,仅代表个人观点,版权归 Frank Zhao 所有,转载时请注明本文出处及文章链接
你可以留言,或者trackback 从你的网站

No Responses to “6500交换机引擎的内存和flash”

  1. […] issue “pwd” to show where the flash: is pointing. Here is a reference URL for more details: Memory and Flash of Switch Engine.To be continued. Filed under Voice | Comment | […]

  2. […] issue “pwd” to show where the flash: is pointing. Here is a reference URL for more details: Memory and Flash of Switch Engine. Troubleshooting Tips: Router# show flash: Router# show ephone phone-load Router# debug tftp […]

留言哦

blonde teen swallows load.xxx videos