Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Restore vlan.dat file on switches

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
Cisco Employee

Re: Restore vlan.dat file on switches

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.

120
Views
0
Helpful
1
Replies