Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

restoring the vlan.dat on a cisco switch

Status
Not open for further replies.

stubbe

IS-IT--Management
Jul 12, 2006
5
BE
Dear Ciscoworks guru's,

I am running LMS 2.5 on Solaris 8.0.
How do I restore the vlan definitions stored in the shadow directory VLAN back to a cisco switch ? The content of the config files can be copied directly to the switch, but the vlan config files are binary, so that poses a problem, any ideas are kindly appreciated,

Greetings,
Lieven
 
Hi,

Hmmm..good question.

The only way that I can think of doing this is to telnet to the device and use the 'copy tftp' command to copy the file from the LMS server to the device that you wish to restore.

You would also have to move the vlan dat file to the tftpboot directory of LMS.

HTH

Nigel Bowden
 
Thanx for the reply Nigel, but I already tried that option, they are both binary files, but not the same !!
I don't understand, this should be one of the key functions of ciscoworks ?!? If you config a switch using CW, copying the the config is no problem, but the vtp domain and vlan DB reside in de vlan.dat file, and in CW they are kept seperately.
Any solutions are kindly welcome,

Lieven Stubbe
Belgian Railways

 
Hi,

Here is the official Cisco manual, which seems to indicate that you have to manually tftp the vlan.dat file back on.

Sorry, about that...it seems to be a limitation of the product.


"It cannot be performed for VLAN configurations. However, you can deploy VLAN configurations using the CLI command, cwcli config put. See Overview: cwcli config Command for more information."


HTH


Nigel Bowden
 
Hi,

I am aware of the cwcli command, with this you can move the vlan.dat file back on the device, however, if you lose the vlan database of a backboneswitch, which is a vtp server, you are in deep trouble, because you can't do a copy tftp flash: at that point !! The only was is to type everything in manually.
Anyway, many thanx for the answers provided.
Lieven
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top