How to Reset a Cisco Switch to Factory Default

How to Reset a Cisco Switch to Factory Default

Are you find cisco switch factory default command?

Don’t worry please follow bellow step. [boxads]

To delete total configuration from switch:

Erase startup-config:

Example:
Switch#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#reload

To delete All VLAN from switch:

Enter the following commands in the privileged mode:

Delete flash:vlan.dat:

[bodyads]

Example:
Switch#delete flash:vlan.dat
Delete filename [vlan.dat]?
Delete flash:vlan.dat? [confirm]

Switch#reload

If you are prompted to save anything before reloading, respond by saying no.

After the switch reloads you should get the initial config prompt.

Shahed Israr

Shahed Israr

Shahed Israr is a Network Engineer specializing in GPON, FTTH, and telecom access network technologies. With hands-on experience in Huawei OLT and ONT configuration, U2000 NMS deployment, iMaster NCE-FAN Lite management systems, firmware upgrades, and advanced network troubleshooting, he helps Internet Service Providers (ISPs) and network professionals deploy, manage, and optimize fiber optic networks efficiently. Through GPON Solution, he shares practical technical guides, real-world solutions, and professional knowledge to support engineers working in modern GPON infrastructure.

More Posts - Website

Follow Me:Add me on XAdd me on FacebookAdd me on LinkedInAdd me on PinterestAdd me on YouTubeAdd me on Reddit

Comments

comments

Leave a Comment

Time limit is exhausted. Please reload CAPTCHA.