思科术语:闪存和 nvram

mit*_*tch 3 cisco ios

我是一名学生,将在 6 月初参加我的 CCNA 考试,我正在做很多实际的复习,我往往会被诸如我即将发布的这个问题之类的小事分散注意力。这是关于闪存和 nvram。这些术语有时可以互换使用,即使它们是两种不同的事物。例如,从这个 Cisco 链接:http : //www.cisco.com/en/US/products/hw/switches/ps5213/products_tech_note09186a0080a49dbf.shtml

VTP 客户端和服务器系统需要来自其他 VTP 服务器的 VTP 更新立即保存在 NVRAM 中,无需用户干预。默认 CatOS 操作满足 VTP 更新要求,但 Cisco IOS 软件更新模型需要替代更新操作。为此,Catalyst 交换机的 Cisco IOS 软件中引入了 VLAN 数据库,作为一种立即保存 VTP 客户端和服务器的 VTP 更新的方法。此 VLAN 数据库采用 NVRAM 中名为 vlan.dat 文件的单独文件的形式。

然后在同一篇文章的后面,它添加了一些系统使用不同术语的上下文:

*单独存储在NVRAM中的vlan.dat可以被交换机访问。可以从其位置复制 vlan.dat 文件以进行备份。存储 vlan.dat 文件的内存位置名称因设备而异。在发出复制命令之前,请参阅相应的产品文档。

在 Cisco Catalyst 6500/6000 系列交换机中,它是 const_nvram:。同样,对于 Catalyst 4500/4000 交换机,它是 cat4000_flash:。在 Cisco Catalyst 29xx 系列和 Cisco Catalyst 35xx、3750 系列中,它被称为闪存:.*

所以这里的文档告诉我:

6500/6000 系列交换机:NVRAM = const_nvram:

4500/4000 系列交换机:NVRAM = cat4000_flash:

29xx、35xx、3750 系列:NVRAM = 闪存:

而且,根据 Cisco 的定义,如果 NVRAM = flash,在 2960 交换机上,那么是的,vlan.dat 存储在 NVRAM 中,并且文档中所说的是正确的。但是其他 NVRAM 呢?存储启动配置的那个,那是完全不同的 NVRAM!这里发生了什么?

我的问题是,很多时候如果我是第一次阅读某些东西,我永远无法确定它们是指存储启动配置的真实 NVRAM,还是存储 IOS 的闪存(和 vlan.dat)。在我看来,他们正在迁移闪存和 nvram?(最新系列中的 nvram 和 const_nvram?)我的意思是,从功能上讲,nvram 和 flash 是相同的。重新加载后不会擦除的可写内存。

但是,是的,我的问题。当他们实际说 nvram 时,我是否应该使用任何一般准则或规则来解释是否阅读“flash:”?

Thi*_*his 6

为了获得上述内容做一个更好的画面,你可以做一个show file systems | i flash|nvramdir nvram:dir flash:一些有问题的设备。简短的回答:NVRAM 是一种闪存,永远不可移动。位置vlan.dat因切换平台而异……nvram除非设备被迫手动将它们存储在其他地方,否则IOS 配置文件始终在中。

催化剂 6500

Router#show file systems | i nvram|flash
    65536000    32514632     flash     rw   sup-bootflash:
      129004      127128     nvram     rw   const_nvram:
     1964024     1960900     nvram     rw   nvram:
    65536000    32514632     flash     rw   bootflash:
    15990784    15990784     flash     rw   dfc#3-bootflash:
Router#dir const_nvram:
Directory of const_nvram:/

    1  -rw-        1876                    <no date>  vlan.dat

129004 bytes total (127128 bytes free)
Router#dir nvram:
Directory of nvram:/

 1918  -rw-           0                    <no date>  startup-config
 1919  ----           0                    <no date>  private-config
 1920  -rw-           0                    <no date>  underlying-config
    1  ----           4                    <no date>  rf_cold_starts
    2  ----          47                    <no date>  persistent-data
    3  -rw-           0                    <no date>  ifIndex-table

1964024 bytes total (1960900 bytes free)
Router#show ver | i IOS
IOS (tm) s72033_rp Software (s72033_rp-IPSERVICES_WAN-M), Version 12.2(18)SXF16, RELEASE SOFTWARE (fc2)
Router#
Run Code Online (Sandbox Code Playgroud)

催化剂3560

DAL-EDG-SW01#sh ver | i IOS
Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(55)SE, RELEASE SOFTWARE (fc2)
DAL-EDG-SW01#show file systems | i nvram|flash
File Systems:

     Size(b)     Free(b)      Type  Flags  Prefixes
*   32514048     8593920     flash     rw   flash:
      524288      488396     nvram     rw   nvram:

DAL-EDG-SW01#
DAL-EDG-SW01#dir nvram:
Directory of nvram:/

  479  -rw-       29740                    <no date>  startup-config
  480  ----        3028                    <no date>  private-config
    1  ----          35                    <no date>  persistent-data
    2  -rw-           0                    <no date>  ifIndex-table
    3  -rw-         598                    <no date>  IOS-Self-Sig#3434.cer

524288 bytes total (488396 bytes free)
DAL-EDG-SW01#dir flash:
Directory of flash:/

    2  -rwx    11190304   Mar 1 1993 12:44:55 -05:00  c3560-ipbasek9-mz.122-53.SE1.bin
    3  -rwx    12677496   Oct 6 2010 20:11:22 -04:00  c3560-ipservicesk9-mz.122-55.SE.bin
    4  -rwx       13336  Feb 28 1993 19:01:18 -05:00  vlan.dat
    6  -rwx        3096  Apr 29 2011 15:21:40 -04:00  multiple-fs
    7  -rwx        3028  Apr 29 2011 15:21:40 -04:00  private-config.text
    8  -rwx       29740  Apr 29 2011 15:21:40 -04:00  config.text

32514048 bytes total (8593920 bytes free)
DAL-EDG-SW01#
Run Code Online (Sandbox Code Playgroud)

催化剂 3550

TQ-DC5-CORE1#sh file systems | i nvram|flash
*   15998976     7844352     flash     rw   flash:
    15998976     7844352   unknown     rw   zflash:
      393216      377552     nvram     rw   nvram:
TQ-DC5-CORE1#dir flash:
Directory of flash:/

    2  -rwx           5  Mar 13 2011 08:13:56 -04:00  private-config.text
    3  -rwx     8127303  Feb 28 1993 19:18:13 -05:00  c3550-ipservices-mz.122-44.SE6.bin
    4  -rwx         320  Feb 28 1993 19:19:52 -05:00  system_env_vars
    5  -rwx         255  Feb 28 1993 19:34:51 -05:00  info
    6  -rwx         255  Feb 28 1993 19:37:38 -05:00  info.ver
    7  -rwx           0  Feb 28 1993 19:19:52 -05:00  env_vars
   10  -rwx        6736  Oct 29 2010 16:24:23 -04:00  vlan.dat
    9  -rwx        1048  Mar 13 2011 08:13:56 -04:00  multiple-fs
   11  -rwx       14583  Mar 13 2011 08:13:56 -04:00  config.text

15998976 bytes total (7844352 bytes free)
TQ-DC5-CORE1#dir nvram:
Directory of nvram:/

  378  -rw-       14583                    <no date>  startup-config
  379  ----           5                    <no date>  private-config
    1  -rw-           0                    <no date>  ifIndex-table

393216 bytes total (377552 bytes free)
TQ-DC5-CORE1#sh ver | i IOS
Cisco IOS Software, C3550 Software (C3550-IPSERVICES-M), Version 12.2(44)SE6, RELEASE SOFTWARE (fc1)
TQ-DC5-CORE1#
Run Code Online (Sandbox Code Playgroud)