cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
985
Views
0
Helpful
1
Replies

Restore vlan.dat file on switches

lni1
Level 1
Level 1

Running RME 4.0.3, the config files and the vlan info are stored in 2 seperate files. If ,for example, a C2950 switch dies, it needs to be replaced by a new one. The actual config is no problem, but how do you restore the vlan.dat file ?

I already tried to copy the cfg file from the shadow dir into the new switch using tftp, but the actual vlan.dat and the cfg file in the VLAN dir are not the same !! Are there other places where the vlan.dat info is stored without modification ?

In addition, what if you have a switch wich is server in a vtp domain, and loses it's vlan info, you have the same problem, how do you restore the vlan.dat ?? Many thanks in advance.

Lieven Stubbe

Belgian Railways

1 Reply 1

David Stanford
Cisco Employee
Cisco Employee

The vlan.dat files are not copied into the shadow directory. They are binary files which are unreadable by humans.

But in the file system (\CSCOpx\files\archive\config) you would

see something like this:

20051028161009running.cfg

20051028161009vlan.cfg

20051028161707running.cfg

20051028161707vlan.cfg

If you have five generations of running configs archived, the version numbers for running

and vlan.dat will be matched. So if you want to restore version 4 of the running config,

you would restore version 4 of the vlan config.

You need to use the CLI to restore the vlan and here is the command:

cwconfig put -u username -p password -device device_name ?version version_number -filetype vlan

You have to reboot the device after downloading the VLAN configuration. Only after you reboot the device, will the VLAN configuration take effect.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: