Home > Archive > CCNP > July 2001 > PLZ Help with clear config command





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PLZ Help with clear config command
singh

2001-07-21, 11:57 am

Hi.

I was reading ccie book for switch lan.I need help from you guys if I wanna add switch to vtp domain & i wanna use clear config all command there is a way i can save old configuration on electronic notepad or tftp cuz if for anyreason we want old configuration we can copy it back to switch.

can plz some help me what command we'll use & how we can save it.

Thank's
darthfeces

2001-07-22, 11:05 am

this is ccna stuff
the only way to clear vtp revision info
is to clear config all and add back to the network
as a new client.

now the config
if you don't have access to a tftp server set one
up ! use either linux of download the cisco tftp
server for pc start it and copy to that ip.
or

just do a sh startup and cut and paste the config
to a text file ( my lazy choice)
singh

2001-07-22, 3:54 pm

Well you are saying that this is a ccna stuff i think u did'nt understand my question.

i know i can save it on tftp what i am saying is there is any way we can save it on electronic notepad & what is the command
that we can use to restore the old cofig.

well if u still think it's ccna stuff u need to read "CISCO LAN SWITCH CCIE" ISBN 1578700949 Chapter 4 page 85.

GOOD LUCK
LOL
depamo

2001-07-22, 4:11 pm

Use HyperTerminal to connect to the device and then just select Transfer from the drop down menu and capture text. This will allow you to window information or have a history. Then just do a sho run on your switch, open a notepad instance and copy and paste (with the HyperTerminal you will need to use the drop down menu to paste and copy). Save it, all done.

To put your config back in, enter global configuration in your switch, open your notepad file, select everything after the sh config command, copy it with right click or whatever, on the HyperTerminal select the drop down Edit and select Paste, everything will be typed in for you, configuration complete.

I usually prefer this way, I am lazy too. If you use this with routers, make sure that you add the 'no shut' command after interface commands or it will not come up.

This is also my method for editing configuration commands, much easier and you can change things like access-lists on the fly and drop them in without worrying about it.

Hope it helps and have fun.

Reason it wasn't in the CCIE book is that this is not a very good pratice, TFTP is the prefered method.

singh

2001-07-22, 4:15 pm

coooooooool

Thank's
depamo

2001-07-22, 4:32 pm

Glad that I could help. Also don't take out the '!' they separate the config commands and act as a Cisco comment field.

This method also helps out with getting access lists already done for you on different sites and Cisco configs on their website.

Little shortcut that saves some time.

darthfeces

2001-07-22, 7:44 pm

good advise depamo

no dig meant by the ccna level comment
my bad

yes,
the hyperterminal thing will work
i just seem to fine it easier to
cut_and_paste to a text file
or connecting a laptop running
the cisco tftp server to the switch
and make sure they are on the same subnet.
depamo

2001-07-22, 8:06 pm

No problem, we all have our own ways. I only really use this for small networks. Once they start to get a little too big for their britches, I go back to the TFTP Server to keep things straight and make sure that I don't make stupid mistakes like drop the wrong configuration into a production router and then loose connectivity (has happened, live and learn).

I enjoy this site mostly because when I answer a question, I get about 10-20 others also giving input on how they would do it and I learn quite a bit that I can use everyday.
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2009 examnotes.net