inVURTED.com

With great virtualisation comes great responsibility!

[TUTORIAL] Dynagen doesn’t save VLAN database after reset

I notice in the latest dynamips version 0.2.8-RC1 that flash filesystem is not working like before. If I perform and “erase flash” then reboot.. the flash file system comes back unformatted. Usually after performing an erase flash on the 3600, the size would change. This is not reflected on the files in the working directory.

This means that vlans are not stored across reboots in the 3640 routers with the switch module.

 The work around is thus:

(config)#vtp file nvram:vlan.dat
Setting device to store VLAN database at filename nvram:vlan.dat.
#dir nvram:
Directory of nvram:/
123  -rw-        1720       startup-config
124  ----          24       private-config
  1  -rw-           0       Index-table
  2  -rw-         720       vlan.dat

Tagged as:

2 Comments

  1. Hi,
    I get an error message when I did as you mentioned in your article.
    Here’s what I got:
    Router(config)#vtp file nvram:vlan.dat
    % not enough space on flash to store vlan database. trying squeeze…First creat
    e squeeze log by erasing the entire device

    % error squeezing flash – (Missing or corrupted log)
    Operation failed; File system error –
    Missing or corrupted log

    Any idea?

  2. My preferred option would be up the flash drive in the definition, so “disk0 = 256? gives you
    a lot of space for files.

    The next thing I would try is “erase” the flash memory. If that doesn’t work, there is a reference
    on the Cisco website that for 2600 and 3600 routers that a filesystem has to be squeezed
    once before use (I assume before copying files to it).

    Mine has always worked, so I don’t know if this also applies to Dynagen, but:

    The CCO article imples that one needs to:
    1. erase flash
    2. squeeze
    3. copy files
    4. delete a file
    5. squeeze

Leave a Response

Please note: comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

*