cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
712
Views
0
Helpful
6
Replies

switch/router

Hi gentlemen,

1. How can I remove all my configs on my switch or my router?

2. How can I retrieve my forgotten password on my switch or my router?

3. How can I backup my config on my switch or my router?

 

Thanks in advance

6 Replies 6

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

Your answer would be:

 

 How can I How can I remove all my configs on my switch or my router??

Ans: Switch#wr erase

after that reboot the switch/router without saving running-config to startup-config again. Read all steps very carefully and reload it.

 

2. How can I retrieve my forgotten password on my switch or my router?

Ans: It depends on the module number of router/switch. 

Check out: https://www.cisco.com/c/en/us/support/docs/routers/2800-series-integrated-services-routers/112033-c2900-password-recovery-00.html

 

How can I backup my config on my switch or my router?

Ans; There are multiple options for it. It depends on you that which one will like you. The easiest solution is copying running configuration on ftp or tftp server. 

 

copy running-config ftp:

 

and flow the all instructions. 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hi sir & tnx for your nice reply. One more question please. How can I copy a command so that I don't need to re-type it again & paste it?

 

Yes, copy and paste commands from a document like text or web site into Putty terminal of a Cisco device.

also, to save config, you can copy/paste from Putty into text document works

 

Regards, ML
**Please Rate All Helpful Responses **

I think I didn't make it clear sir. Suppose I wish to re-type a command. I use "show run" command & wish to copy & paste a command in command line. How can I do it?

I think I didn't make it clear sir. Suppose I wish to re-type a command. I use "show run" command & wish to copy & paste a command in command line. How can I do it?

Hi,

As I am understating that you want to make an auto script that You will type only one keyword or command and it will auto-type all other commands related to this. Is it true?

 

If it is ok then you can make same using the tcl scripting language as:

 

https://www.ciscozine.com/ios-scripting-with-tcl/

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
Review Cisco Networking for a $25 gift card