Save VLAN configuration /Database in gns3:


VLAN and VTP information are save in VLAN.DAT file in Flash memory, you can view this file by using command "show flash". GNS3 can save the configuration that exists in running-configuration. This is the reason that when you restart or reopen a gns3 topology you loss your all VLAN information.
But there is way to save the VLAN configuration in gns3. Cisco introduced the extended range VLAN that store in running-configuration and in gns3 you can save these VLAN information. Extended range VLAN are supported by only new Cisco IOS(s), you can find all these IOS list that support extended range VLANs from "Cisco Feature Navigator tool" on Cisco website. 

These are Step to save VLAN information in gns3.
  1. Choose the IOS that supports extended range VLAN feature, i use two of them i.e c3725-adventerprisek9-mz.124-15.T5.extracted.bin and c3725-adventerprisek9-mz.124-15.T7.bin.
  2. Use the NM-16ESW module in router.   
  3. VTP must be in transparent mode if you want to configure extended-range vlans
Configuration of VLAN in GNS3:
To configure extended-range vlans (1006-4094) use the VLAN numbers from 1006-4094.

Switch(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Switch(config)#vlan 1122
Switch(config-vlan)#name IT
Switch(config-vlan)#vlan 1233
Switch(config-vlan)#name HR
Switch(config-vlan)#exit
Switch(config)#

To check the VLAN information use "show run" or "show vlan-switch".


Save the configuration by using "wr" or "copy running-config sTartup-config".
UA-23728446-1