it works, so why change it?
I had a chat with a fellow netadmin. He has recenly changed employers and the setup at his new job is really messy. Slowly but surely he cleans things up.
The situation he run in brings a lot of memories and ideas to mind and is to some degree funny. If you are a techie you'll certainly enjoy it.
Here's the original (slightly modified to protect the inoscent) translated to english chat log. Read the human translation below.
hi, i need quick help
if you have 2 min
what was the statement not to store config in nvram, but in flash?
i am running out of nvram on one box
%No memory available
% Warning: Saving this config to nvram may corrupt any network management or security files stored at the end of nvram.
copy running-config filesystem:filename
how about service compressed-config
there is no way to tell the router to load the config directly from flash when it boots
as far as I know
i *think* i've read somewhere that it's possible
but thanks, anyway
i will let you know if i figure it out
and... clean up your config ..
easier said than done
-rw- -220KB- -date- -filename-
it's one big config, eh?
biggie. the biggest I've seen was about 170K
this is config of some -router-
it has static -config line- for every -customer-
akhm... how about something dynamic ?
working on it
is that config at least generated ?
or hand-edited ?
boot config flash: somefile
so you need to put that into the nvram config and when the boot image loads it it will tell the real IOS to load the flash config when it boots
is that the way it works ?
still trying to figure it out, because this boot config is not available on this box
back to drawing board
THEY ADD -CONFIG LINES- MANUALLY!
do they ever remove -config lines-?
now, that's a damn good one...
i think so
a secretary "has a program" and she just runs it, "put some -config line- and then just put it all in the program and i confirmn it with wr"
and the program is telnet.exe ?
i would be almost sure it is
i don't even want to dare take a look
go take a look it will be funny to know
-router- is down now
some people thought reboot will fix startup-config
( i ewven bet the lunch that it won't )
anyway, talk to you later. i need to fix this
i need beer
she goes: start/run/telnet x.x.x.x
i bullshit you not!
I'm blogging this ...
anyway, need to go fix this. talk to you later
it IS funny, isn't it?
it is. it's like these BOFH jokes
it'a actually unbelievable
reloaded the damn thing
copy saved running
( 2 minutes )
and it compressed it to 50K
sometimes i really hate cisco
My friend discovered today a very interesting procedure used at his work for adding configuration lines related to customers on a device in their network.
The cisco device in question has grown a configuration of about 200KB, which it couldn't store in it's nvram(the usual placeholder for configurations on a cisco router). And he had to find a way to make it work. While working on it he discovered that a non-technical person (the secretary) was given the passwords for the device in order for her to add "customers" to it.
So their procedure for adding a customer was in fact
1. telnet to the device
2. conf t, some configuration lines
3. save configuration
It is pretty obvious that managing a 200KB (roughly 10000 lines) configuration text file containing configuration for about 5000 customers by hand is crazy. The amounts of human mistakes that will build up in the configuration over time is simply unacceptable. So you get effects like a constantly growing configuration file, non-paying customers still being provided with a service and new paying customers calling in because their service does not work. Cleaning up this mess is every netadmin's nightmare.
Unfortunately, this is the way things "just work" in most places.
Posted by boyan at May 28, 2004 02:17 PM