china01com 发表于 2012-3-19 15:35:23

vlan.dat已经保存到NVRAM,但为什么每次重启GNS3 vlan信息就不见了

vlan.dat已经保存到NVRAM,但为什么每次重启GNS3 vlan信息就不见了

我已经用VTP FILE NVRAM:vlan.dat保存到NVRAM了,但为什么每次重启GNS3 vlan就不见了,但vlan.dat还在的。

如何让vlan信息每次重启GNS3都会自动加载进来,要不每次都要重新设置VTP,上次做的什么都白做了。
GNS3版本:


从下图可看到vlan.dat存在于NVRAM,但show vlan-switch建立的VLAN都没有了。


使用的CISCO IOS: c3640-ik9s-mz.124-25d.bin ,使用模块NM-16ESW模拟交换机。

这对我很重要,要不CCNP switch试验无法做下去。

哪位高手能回答这个问题?谢谢!

leonsong 发表于 2012-5-9 00:40:32

我也遇到了同样的问题,好像save project as 的时候把save nvram and hard drives勾上能保存vlan信息,但是有时会出现加载不了配置的情况出现,现在不知道怎么解决。{:6_278:}

bearberni 发表于 2012-6-21 21:08:56

leonsong 发表于 2012-5-9 00:40 static/image/common/back.gif
我也遇到了同样的问题,好像save project as 的时候把save nvram and hard drives勾上能保存vlan信息,但是 ...

http://www.gns3-labs.com/2008/11/30/vlan-database-lost-when-restarting-saving-vlandat-to-nvram/

我建立工程是选了save nvram那一项,然后参照这个帖子里的命令就可以了,但是只试过一次,vlan信息还有的,不知道是不是每次都可以

liuhui_8879 发表于 2013-3-18 19:26:39

you try


So, this is the step to save the configuration :



LH-ROUTER#erase flash
Erasing the flash filesystem will remove all files! Continue?
Erasing device… eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee …erased
Erase of flash: complete


LH-ROUTER#squeeze flash:
Squeeze operation may take a while. Continue?
squeeze in progress…
Squeeze of flash complete

LH-ROUTER#conf t
Enter configuration commands, one per line. End with CNTL/Z.
K-ROUTER(config)#vtp file nvram:vlan.dat
Setting device to store VLAN database at filename nvram:vlan.dat.

LH-ROUTER(config)#do dir nvram:
Directory of nvram:/

124 -rw- 0 startup-config
125 —- 0 private-config
1 -rw- 600 vlan.dat

129016 bytes total (127940 bytes free)
LH-ROUTER(config)#

LH-ROUTER(config)#do wr mem
Building configuration…


1171654483 发表于 2013-3-19 17:56:19

打开GNS3的时候不要看到那个新建工程的弹出窗口就关了它。要填好那个,勾那个“保存nvrams。。。”那个。再好像以前那样做就可以的了。

暮夜飞猫 发表于 2013-11-24 14:02:51

Error opening nvram:/startup-config (Invalid Checksum)我的是每次重启都出现这个提示 然后。。。什么配置都没了{:6_278:}
页: [1]
查看完整版本: vlan.dat已经保存到NVRAM,但为什么每次重启GNS3 vlan信息就不见了