Is the Cisco Catalyst 2960-S Series SI configured as a flat or layer-2 switch in its factory state?


I have a Cisco Catalyst 2960-S series SI switch with an unknown existing configuration.  I would like to reset it back to factory settings and erase the vlan database file.  

My hope is that I can get it running as a simple switch for a flat network with no VLANS.  The features that I care about are its 48 1GB ports and the POE support.

So I am just wondering what it's default state would be coming out of a factory reset?  Will it be (effectively) a layer 2 device that wont bunk anything on the existing network?  Do I still need to switch it from VTP Server to Client mode?  

I am unfamiliar with this network, and I don't want it monkeying any existing VLANs/network configs, which there shouldn't be.  But just in case.  I have inherited this network.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Svet ChinkovCommented:
Hello CnicNV,

Yes, the factory default configuration of your switch is layer 2. There might be a better way of accomplishing your task. You can use switchport mode access and switchport access vlan "use one of the existing vlan_IDs" on all ports whihc will make your switch flat. However if you have your mind set on removing the current configuration and running the default config instead, here is how you can do that:

1. Login to the switch and do show run and copy the output to notepatto make a backup of the configuration for your records if you prefer.
2. Enter write erase command and confirm.
3. Remove the  file containing the vlan infrmation from flash if it exist
    a. show flash - will display the content of the flash memery
    b. look for the vlan.dat  file
    c. delete flash:vlan.dat - removes the vlan.dat file after reboot
4. Reload - to reset the switch
5. After the switch is done  booting you can verify the if the vlan.dat file is removed using show flash.

I hope that helps. Please let me know if you have any followup questions.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
atlas_shudderedSr. Network EngineerCommented:
Here's a simpler solution
When you boot the switch and it asks if you want to continue Initial config dialog, cancel it and go straight to CLI.

A switch, by definition and design, is a layer 2 device.  It will always have at least one VLAN on it, that being vlan 1.  Assuming the rest of your network is running on VLAN 1, then you should be good to with regards to equipment being able to talk, assuming that your uplinks will come up.

This is the problem you are pitching here.  You want to know if the switch will work when connected to the network.  This is really not something that can be confidently answered as there are a large number of unknowns.  And those unknowns are significant.  

1.  If your network is all VLAN 1, then the VLAN 1 on the new switch will be able to successfully pass traffic up assuming that;
2.  Your uplink is access port to access port.  If the otherside is configured as a trunk, then you could have the issue of getting the switch connected to the network
3.  Back to the VLANs, if you can get the uplink to connect, if VLAN 1 is not set as the default VLAN, then it just won't matter for any of the above and
4.  VTP, finally something that can be answered directly, set it to client, domain moonbase or some such nonsense, password it and set it to transparent mode.

Short answer?  You need to at least get into the switch you are planning to uplink to but something tells me this isn't going to happen.
CnicNVAuthor Commented:
Thanks for the tips.  

I fairly certain this network is flat (also I have been told as much), but I am always skeptical of things I don't have first hand knowledge of.  So I will err on the side of caution with regards to VTP.  The switches it will be uplinking to are all old and cheap Netgears, which are layer 2.  There is one other Cisco, with a few things going into it, and that is all I am worried about.  I am not going to start any of this until I got Spiceworks up and running and it can give me a better idea of whats what and actually on the network.  LOL, nothing is labeled at all, so its going to take a while to trace and untangle things.

Have a good weekend :-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.