08-24-2021 05:36 PM
08-24-2021 06:33 PM
Was the VLAN.dat deleted before the reload?
08-24-2021 06:45 PM
Hi Leo, thanks for the quick reply. Yes, I deleted both vlan.dat and config.text prior to reload. Post reload, vlan.dat was the same size as the original, and config.text was the same size as my .cfg file that I copied to starting-config.
08-24-2021 07:26 PM
Let me get the process correctly:
Is this correct?
08-24-2021 08:25 PM
1. wr erase
2. delete vlan.dat
3. delete config.text
4. reboot
5. copy abc.cfg start
6. reboot
At this point, the switch boots with everything in abc.cfg as the starting-config, except a couple IP's for a VLAN have changed.
We actually just discovered it was happening on two of our switches. One of their VLAN IP addresses in the running config was getting swapped so switch A thought it was switch B and vice versa. The abc.config that we copy to start had them labeled correctly in both switches, but post reboot they seem to get mixed up somehow.
08-24-2021 08:29 PM
@angelajackson94 wrote:
We actually just discovered it was happening on two of our switches. One of their VLAN IP addresses in the running config was getting swapped so switch A thought it was switch B and vice versa. The abc.config that we copy to start had them labeled correctly in both switches, but post reboot they seem to get mixed up somehow.
I have never seen this sort of behaviour before.
Is it the same if the config was copied into the running-config?
08-24-2021 08:35 PM
If we copy the .cfg into running-config, the switch has the correct IP. As soon as we reboot, however, the IP changes.
I wonder if maybe doing "copy run start" after we do "copy abc.cfg run" might change anything. I don't think it should be any different from just "copy abc.cfg start" after we delete our files and reboot, but the behavior is very strange like you mentioned so I think I'll give it a shot anyway.
08-24-2021 09:03 PM
Another thing, try a different file extension, say, txt (instead of cfg).
08-24-2021 09:06 PM
Do you mean for the file I am copying to start? Use one with a .txt instead of .cfg?
08-24-2021 09:11 PM - edited 08-24-2021 09:12 PM
@angelajackson94 wrote:
Do you mean for the file I am copying to start? Use one with a .txt instead of .cfg?
Yes. Txt to start.
If it does not work, txt to run (and then save).
08-24-2021 09:17 PM - edited 08-24-2021 09:23 PM
Got it. Thanks for the help Leo, ill give it a try... but what do you mean by "and then save" ?
edit: i think that means txt to run, then run to start. thank you again!
08-24-2021 08:18 PM - edited 08-24-2021 08:26 PM
edit
08-25-2021 01:03 AM
Hi
I agree with Leo, this is really strange behavior. But just to clarify, you mention you are copy to starting-config, is this a typo? It should be startup-config. Because the switch is using startup-config, not starting-config when booting up.
/Mikael
08-25-2021 05:51 AM
Yes, that's a typo on my part. When I type the command I always just type start so I was a little hazy on the full phrasing
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: