From: Charles Church (cchurch@wamnet.com)
Date: Fri Aug 22 2003 - 09:56:25 GMT-3
Luckily the lab now has nothing slower than a 2600. Reloads no longer need
to be scheduled around lunch and bathroom breaks!
Chuck Church
CCIE #8776, MCNE, MCSE
Wam!Net Government Services
13665 Dulles Technology Dr. Ste 250
Herndon, VA 20171
Office: 703-480-2569
Cell: 703-819-3495
cchurch@wamnet.com
PGP key: http://pgp.mit.edu:11371/pks/lookup?search=chuck+church&op=index
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Kenneth Wygand
Sent: Friday, August 22, 2003 8:40 AM
To: R. Benjamin Kessler; Bean; ccielab@groupstudy.com
Subject: RE: What's the quickest way to remove the config on the router?
Unfortunately this won't work. Typically you will only see non-default
configuration in the config, but that's not always the case. Sometimes
you will see extra configuration which could be the default, and by
"no-ing" that command you won't be reseting it to defaults.
Additionally, some commands are not entirely removed by using the "no"
form of the command - sometimes where a main command is configured with
an attribute, then you use the "no" command with the attribute, the main
command will still exist in the config when you are done. For example
if you put:
Router ospf 1
Area 1 virtual-link 1.1.1.1 authentication
Then you "no" the command with:
Router ospf 1
No area 1 virtual-link 1.1.1.1 authentication
The following command will still be in the ospf process configuration
Router ospf 1
Area 1 virtual-link 1.1.1.1
Furthermore, once you "no" the "router ospf 1", this command will remove
all ospf configuration with it, so the additional commands under the
process do not need to be removed individually.
Couple this with the fact that "no-ing" subinterfaces does not remove
the configuration if you recreate the subinterface without rebooting and
the fact that you cannot change the subinterface type
(point-to-multipoint or point-to-point).
In summary, just do a write erase, reload and wait the 5 minutes. I
know it's a pain (my lab is all 2500 routers as well), but the time will
be well spent with not having to deal with any of the problems if you
try doing it a different way.
Just an extra piece of info - if you just want to reset the
configuration on an interface or something, use the "default" command -
for example:
Default int e0
That will set the interface back to it's default, unconfigured state.
Kenneth E. Wygand
Systems Engineer, Project Services
CISSP #37102, CCNP, CCDP, MCP 2000, CNA 5.1, Network+, A+
Custom Computer Specialists, Inc.
"It's not just about ending up where you want to be, it's about making
the most of the trip there."
-Anonymous
-----Original Message-----
From: R. Benjamin Kessler [mailto:bk-lists@kesslerconsulting.com]
Sent: Wednesday, August 20, 2003 2:47 PM
To: 'Bean'; ccielab@groupstudy.com
Subject: RE: What's the quickest way to remove the config on the router?
Well, you could do a "show run" and copy/paste the output to a text
file.
Open up the file in notepad and insert a bunch of "no " statements in
front
of all of the commands and then copy/paste that file back into the
router...
Personally, I think that a "wr era" and a "reload" are the easiest way
to
go...
~~~~~~~~~~
R. Benjamin Kessler
Network Engineer
CCIE #8762, CISSP, CCSE
Kessler Consulting
Email: ben@kesslerconsulting.com
http://www.kesslerconsulting.com
Phone: 260-625-3273
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Bean
Sent: Wednesday, August 20, 2003 12:57 PM
To: ccielab@groupstudy.com
Subject: What's the quickest way to remove the config on the router?
Hi:
I used several cisco 2500 runing IOS12.2. Every time I want to clear all
the
stuff I configured, after erase nvram, I must wait 5 minutes waiting
router
up.
Is there any quicker way to remove the config completely without reboot?
Thank you!
Bean
This archive was generated by hypermail 2.1.4 : Tue Sep 02 2003 - 18:54:04 GMT-3