#cisco
25 December 2007
Total 7 pages. You are browsing page 3/7.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
06:35 <****> wondered after europe
06:39 <****> meh
06:39 <****> no comment.
06:40 <****> i need to learn to do some scripting to configure these cisco routers
06:40 <****> whys that
06:40 <****> how many do you have to configure
06:40 <****> like 300+
06:40 <****> lol
06:40 <****> and they just keep comming in
06:40 <****> are they allthe same
06:40 <****> they're all 1800s
06:40 <****> securecrt + vbscripts
06:40 <****> the configs are all different
06:40 <****> over 20% thru my BSCI book. im gonna take the test in feb i think
06:40 <****> ahhh
06:40 <****> can you build it into a structured CSV file?
06:40 <****> vbscripts?
06:41 <****> i use vbscripts for shit all the time
06:41 <****> link?
06:41 <****> like rolling snmp communities on 300+ devices to one community
06:41 <****> check out securecrt's site
06:41 <****> for vbstuff?
06:41 <****> yeah
06:42 <****> bah?
06:42 <****> thats a lot of routers
06:42 <****> bah indeed
06:42 <****> yea it's an assload
06:42 <****> but if u doing something like that your doing some big things
06:42 <****> i can send you an example config
06:42 <****> 1 sec
06:42 <****> and if i can automate a majority of my w0rk
06:42 <****> w00000h00000000
06:43 <****> ok thx
06:43 <****> i guess you arent paid hourly
06:43 <****> i am!
06:43 <****> ??
06:43 <****> then do one at a time
06:43 <****> i still have to do one at a time
06:43 <****> because i have to configure via console cable
06:43 * f3ew recommends Perl
06:43 <****> cause ips and all that fun stuff changes
06:43 <****> ShadeS ick
06:43 <****> i'm looking into perl actually
06:44 <****> Perl + database + a templating mechanism
06:44 <****> i'm looking into perl and secure crt + vbscripts
06:44 <****> ha
06:44 <****> yeah, right
06:44 <****> 'templating mechanism' ?
06:44 <****> where the DB can be a spreadsheet
06:44 <****> quit your marketing speak ;)
06:44 <****> a template you fill up with appropriate values
06:44 * humbug bored
06:44 <****> (There's more than one choice of templating modules available)
06:45 <****> ShadeS: got an email address?
06:45 <****> whats email
06:46 <****> So you grab the template, fill it up with values based on the data in your table, and write the file to your tftp server, then simply tell the router to get the config from tftp
06:46 <****> humbug, thing is if I can automate my work then i can go get some tea or something while it runs it's thing
06:46 <****> mehhhh
06:47 <****> instead of having to sit there
06:47 <****> painstaklingly click the mouse
06:47 <****> copy paste
06:47 <****> etc etc
06:47 <****> did i mention christmas sucks?
06:47 <****> ShadeS, do these routers have an IP address already?
06:47 <****> humbug yes
06:47 <****> no
06:47 <****> ShadeS: the script i sent you, essentially it takes a csv file and breaks it into arrays and then uses the data from array to put config into routers
06:48 <****> Otherwise, you still need to physically connect console cables and stuff
06:48 <****> .cvs?
06:48 <****> and do a bunch of C&P
06:48 <****> .csv
06:48 <****> comma separated values
06:48 <****> f3ew, initially they don't but they will once the config is loaded on there
06:48 <****> Heh
06:48 <****> so i can't do anything but console
06:48 <****> which r sucks
06:49 <****> bah
06:49 <****> ShadeS: each entry in the csv has comma seperated values
06:49 * f3ew suggests a console server in that case, which you can telnet to
06:49 <****> each field being different
06:49 <****> a console server eh?
06:49 <****> so, you can take that script and adapt it to a lot of things
06:49 <****> tell me more
06:49 <****> lol @ f3ew's suggestions
06:49 <****> that's a real sweet idea
06:49 <****> telnet to the relevant port on the console server, which drops you into the router
06:49 <****> cause then i can configure 5 at a time
06:49 <****> or as many as the electrical socket will take before overloading
06:49 <****> heh
06:50 * f3ew loads up ShadeS with a few dozen 6500s
06:50 <****> ShadeS, just think... by the time you get all of this stuff set up, you could be done configuring!
06:50 <****> haha
06:50 <****> humbug, i doubt it
06:50 <****> hahahaha
06:50 <****> i have like literally 300+ routers to do
06:50 <****> and a ridiculous short time frame too
06:50 <****> so if i manage to get done faster w/o them knowing then better for me 8 )
06:51 <****> Well, you probably would be able to do it faster as a one off
06:51 <****> but once you have the tools in place, the next batch of 300 will take even less time
06:51 <****> yes
Total 7 pages. You are browsing page 3/7.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
