Common Cisco IOS Issues

From 24PinTech Wiki
Revision as of 18:41, 8 November 2018 by Vlatona (talk | contribs)
Jump to navigation Jump to search

File Deletion

Sometimes, files just don't want to go. They cling on to dear life. Generally, you would use the following command to delete files:

erase [filename]

However, sometimes Cisco IOS will spit back an error if it doesn't want to delete said file, for whatever reason. If you run into an issue, use the following command:

delete [filename]

If that doesn't work, usually with the "Is a directory" error, use the following command to force the deletion:

delete /force /recursive [filename]

Deleting Forgotten Password on Router

When working with labs on Routers, sometimes students enter their console passwords incorrectly or they simply forget. The following documentation will describe the procedure to erase any passwords needed to enter the networking device. Turn the power switch on the router to the off position and unplug the power cable from the router. Plug in the power cable to the router and quickly press Break repeatedly until the rommon 1> prompt appears. When the rommon 1> script appears type and enter the following command: confreg 0x2142 After entering the previous command, enter the reset command to reload the router while ignoring the startup-config. After entering the new config, delete the startup-config by typing: delete startup-config After deleting the startup-config, reload the router using the reload command.