HOME > コンテンツリスト > ラボ・シナリオ for CCNA > [ < 前へ 次へ > ]

startup-configはFlashメモリに保存される

※ 前の「シナリオ」の続きとして記載しています。
ネットワーク構成図

  1. SW-A のコンフィグを保存しなさい。
  2. < SW-A >
    SW-A# copy run start
    Destination filename [startup-config]? < Enter >
    Building configuration...
    [OK]
    SW-A#
    
  3. SW-A で、sh flash コマンドを実行しなさい。
  4. < SW-A >
    SW-A# sh flash:
    
    Directory of flash:/
    
        2  -rwx     3170070  Mar 01 1993 11:50:31 +00:00  c2940-i6q4l2-mz.121-22.EA13.bin
        3  -rwx           5  Mar 01 1993 00:06:59 +00:00  private-config.text
        6  -rwx         745  Mar 01 1993 00:06:59 +00:00  config.text
    
    7612416 bytes total (4439552 bytes free)
    SW-A#
    
    config.text が startup-config ファイルで、Flash 内に保存されています。
    NVRAM を持つ機種もありますが、ほとんどの Catalyst スイッチには NVRAM はなく、Flash の一部領域をシミュレートして利用しています。
    これは sh version で確認できます。
    < SW-A >
    SW-A# sh version
    Cisco Internetwork Operating System Software
    IOS (tm) C2940 Software (C2940-I6Q4L2-M), Version 12.1(22)EA13, RELEASE SOFTWARE (fc2)
    Technical Support: http://www.cisco.com/techsupport
          ・
          ・
          ・
    8 FastEthernet/IEEE 802.3 interface(s)
    1 Gigabit Ethernet/IEEE 802.3 interface(s)
    The password-recovery mechanism is enabled.
    
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 00:0F:90:0A:00:00
          ・
          ・
          ・
    
  5. SW-A の startup-config を削除しなさい。
  6. < SW-A >
    SW-A# erase start
    Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] < Enter >
    [OK]
    Erase of nvram: complete
    SW-A#