Montag, 22. November 2010

Cisco IOS switch cleanup for Dummies

For some reason you may have to delete custom configuration from a switch - for example a trade-in or just if you throw away the good pieces and don't want to give other the opportunity to get your config.

You have to do the following steps:
1) connect to the switch - console/LAN - makes no difference
2) get privileged access aka jump into enable mode
3) determine which files are on the device
4) erase the config
5) erase other files
6) reboot
7) check the config if you are not sure

privileged mode

enable
show all items in flash:
dir flash:
erase startup-config
write erase
if vlan.dat exists:
delete flash:vlan.dat
if multiple-fs exists:
delete flash:multiple-fs
reload
after reboot to check:
sh run

Keine Kommentare:

Kommentar veröffentlichen