10-07-2019 11:23 PM
I have a switch that no one could remember the password to
Ok no worries ill use the password recovery option and that is when the pain began
I can not seem to rename or even delete the files without "No such file or directory" wrecking my day.
Any guidance would be great :)
switch: dir flash: Directory of flash:/ 6 drwx 192 Mar 1 1993 00:07:28 +00:00 c2960-lanbasek9-mz.122-50.SE5 562 -rwx 796 Oct 8 2015 03:21:52 +00:00 vlan.dat.renamed 567 -rwx 1918 Mar 1 1993 00:00:57 +00:00 private-config.text.renamed 568 -rwx 2072 Mar 1 1993 00:03:07 +00:00 multiple-fs 570 -rwx 624 Mar 1 1993 00:03:08 +00:00 express_setup.debug 573 -rwx 1590 Mar 1 1993 00:00:57 +00:00 config.text.renamed 20884992 bytes available (11629056 bytes used) switch: rename flash:vlan.dat.rename flash:vlan.dat rename: no such file or directory
--- System Configuration Dialog --- Enable secret warning ---------------------------------- In order to access the device manager, an enable secret is required If you enter the initial configuration dialog, you will be prompted for the enable secret If you choose not to enter the intial configuration dialog, or if you exit setup without setting the enable secret, please set an enable secret using the following CLI in configuration mode- enable secret 0 <cleartext password> ---------------------------------- Would you like to enter the initial configuration dialog? [yes/no]: n Switch>en Switch#dir flash: Directory of flash:/ 6 drwx 192 Mar 1 1993 00:07:28 +00:00 c2960-lanbasek9-mz.122-50.SE5 562 -rwx 796 Oct 8 2015 03:21:52 +00:00 vlan.dat.renamed 567 -rwx 1918 Mar 1 1993 00:00:57 +00:00 private-config.text.renamed 568 -rwx 2072 Mar 1 1993 00:03:07 +00:00 multiple-fs 570 -rwx 624 Mar 1 1993 00:03:08 +00:00 express_setup.debug 573 -rwx 1590 Mar 1 1993 00:00:57 +00:00 config.text.renamed 32514048 bytes total (20884992 bytes free) Switch#rename flash:vlan.dat.rename flash:vlan.dat Destination filename [vlan.dat]? %Error renaming flash:vlan.dat.rename to flash:vlan.dat (No such file or directory) Switch#
Solved! Go to Solution.
10-07-2019 11:33 PM
rename flash:vlan.dat.rename flash:vlan.dat
rename flash:vlan.dat.renamed flash:vlan.dat ( You forgot the last d on vlan.dat.renamed )
10-07-2019 11:33 PM
rename flash:vlan.dat.rename flash:vlan.dat
rename flash:vlan.dat.renamed flash:vlan.dat ( You forgot the last d on vlan.dat.renamed )
10-07-2019 11:43 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide