RE: Router Management Scripts

From: Ben-Shalom, Omer (omer.ben-shalom@xxxxxxxxx)
Date: Wed Dec 19 2001 - 16:12:17 GMT-3


   
In the win32 environment I found perl to be a very useful language for me,
check out the
Net::Telnet and the Net::Telnet::Cisco modules, allows doing whatever you
need Via telnet.

Beyond this I found the SNMP support for perl a winning card, with SNMP you
can upload configs on routers, save configs, change various router and
switch characteristics and so on.

Omer.

-----Original Message-----
From: Jason Gardiner [mailto:gardiner@sprint.net]
Sent: Wed, December 19, 2001 8:03 PM
To: Larson, Chris (Contractor); 'Miller, Nathan - Perot';
'ccielab@groupstudy.com'
Subject: Re: Router Management Scripts

expect does a good job with automating these sorts of tasks.

On Wednesday 19 December 2001 11:29 am, Larson, Chris (Contractor) wrote:
> We had developed at one time a *nix script that would go out and enable
> port security on all of our switches enterprise wide. It worked pretty
> well. We used TACACS so login and enable did not change from switch to
> switch which made it easier.
>
>
> We simple had a list of addresses for the switches and the commands to
> execute at each switch. It would telnet, login, config t, issue the
> commands, wr mem, logout and move on.
>
> It was kinda like a
> waitfor "username"
> write "laron11"
> waitfor "password"
> write "password"
>
> I think it was just a simple shell script of sorts. Not sure which shell
> though.
>
> -----Original Message-----
> From: Miller, Nathan - Perot [mailto:NHMiller@chw.edu]
> Sent: Wednesday, December 19, 2001 10:52 AM
> To: 'ccielab@groupstudy.com'
> Subject: OT: Router Management Scripts
>
>
> First - THIS IS OFF TOPIC if you are offended by such posts please read no
> further ;-}
>
> Has anyone out there developed/obtained or know of scripts to automate
> repetitive administrative tasks on Cisco routers? Note: I am not in the
> market for Ciscoworks.
> Thanks in advance,
>
>
> Nathan Miller
> Network Specialist - CCNP, CCDP

--
Thanks,

Jason Gardiner Supervisor, Engineering Services Sprint <Insert Division Name>

"You can swim all day in the Sea of Knowledge and still come out completely dry. Most people do."

- Norton Juster



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:32:45 GMT-3