Difference between revisions of "Common Cisco IOS Issues"

From 24PinTech Wiki
Jump to navigation Jump to search
Line 14: Line 14:
==Deleting Forgotten Passwords on Routers==
==Deleting Forgotten Passwords on Routers==
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.
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.
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
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 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.
After deleting the startup-config, reload the router using the '''reload''' command.

Revision as of 15:25, 8 November 2018

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 Passwords on Routers

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.