设为首页 收藏本站
查看: 924|回复: 0

[经验分享] Cisco Engine Memory-gogomomo

[复制链接]

尚未签到

发表于 2018-7-15 13:36:49 | 显示全部楼层 |阅读模式
  如何查看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,>  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,>  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
  export@cisco.com.
  cisco CISCO7609 (R7000) processor (revision 1.2) with 458720K/65536K bytes of memory.

  Processor board>  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>  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,>  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)>  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>  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>  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,>  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)>  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>  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>  Configuration register is 0x2102
  可以看到执行remote login switch就可以将控制台从RP切换到SP。在SP下执行show version与在RP
  下直接执行remote command switch show version的效果是一样的。

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-537401-1-1.html 上篇帖子: CISCO 产品命名解说 下篇帖子: Cisco Switch Naming Convention
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表