Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
accessing multiple devices via a script
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  19 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Abdullah Al-Malki  
View profile   Translate to Translated (View Original)
 More options Jan 15 2012, 12:52 pm
From: Abdullah Al-Malki <a.almalki1...@gmail.com>
Date: Sun, 15 Jan 2012 20:52:50 +0300
Local: Sun, Jan 15 2012 12:52 pm
Subject: accessing multiple devices via a script
Hi fellows,
I am supporting a big service provider and sometimes I face this problem.
Sometimes I want to access my customer network and want to extract some
verification output "show commands" from a large number of devices.

What kind of scripting solutions you guys are using this case.

Appreciate the feedback,
Abdullah


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Regnauld  
View profile   Translate to Translated (View Original)
 More options Jan 15 2012, 12:56 pm
From: Phil Regnauld <regna...@nsrc.org>
Date: Sun, 15 Jan 2012 18:56:55 +0100
Local: Sun, Jan 15 2012 12:56 pm
Subject: Re: accessing multiple devices via a script

Abdullah Al-Malki (a.almalki1402) writes:
> Hi fellows,
> I am supporting a big service provider and sometimes I face this problem.
> Sometimes I want to access my customer network and want to extract some
> verification output "show commands" from a large number of devices.

> What kind of scripting solutions you guys are using this case.

        Hi Abdullah,

        rancid ?

        http://www.shrubbery.net/rancid/

        Cheers,
        Phil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joel jaeggli  
View profile  
 More options Jan 15 2012, 1:01 pm
From: Joel jaeggli <joe...@bogus.com>
Date: Sun, 15 Jan 2012 10:01:29 -0800
Local: Sun, Jan 15 2012 1:01 pm
Subject: Re: accessing multiple devices via a script
On 1/15/12 09:56 , Phil Regnauld wrote:

> Abdullah Al-Malki (a.almalki1402) writes:
>> Hi fellows,
>> I am supporting a big service provider and sometimes I face this problem.
>> Sometimes I want to access my customer network and want to extract some
>> verification output "show commands" from a large number of devices.

>> What kind of scripting solutions you guys are using this case.

>    Hi Abdullah,

>    rancid ?

>    http://www.shrubbery.net/rancid/

clogin from rancid features prominently in a lot of our network level
automation...

so does pdsh...

http://code.google.com/p/pdsh/

Particularly when it involves hosts.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin Krejci  
View profile   Translate to Translated (View Original)
 More options Jan 15 2012, 1:41 pm
From: "Justin Krejci" <jkre...@usinternet.com>
Date: Sun, 15 Jan 2012 18:41:09 +0000
Local: Sun, Jan 15 2012 1:41 pm
Subject: Re: accessing multiple devices via a script
Parallel ssh (pssh) might help you too


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kurth Bemis  
View profile  
 More options Jan 15 2012, 1:46 pm
From: Kurth Bemis <kurth.be...@gmail.com>
Date: Sun, 15 Jan 2012 13:46:13 -0500
Local: Sun, Jan 15 2012 1:46 pm
Subject: Re: accessing multiple devices via a script

Back in the day (~2001 era) I used expect to do a lot of tasks across
(in that day) telnet.

http://www.linuxjournal.com/article/3065

Good Luck,
~k


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rhys Rhaven  
View profile   Translate to Translated (View Original)
 More options Jan 15 2012, 2:13 pm
From: Rhys Rhaven <r...@rhavenindustrys.com>
Date: Sun, 15 Jan 2012 13:13:24 -0600
Local: Sun, Jan 15 2012 2:13 pm
Subject: Re: accessing multiple devices via a script
I do this with cluster-ssh, as in some networks I have a generic
script-daemon login that use to log into them all simultaneously. cssh
uses tk and xterm, so its a bit long in the tooth.

New hotness to do this is something like keyboardcast, which can
broadcast keyboard input to however many windows you want. Its currently
broken on Ubuntu 11.10, but I think it works in .04.

On 01/15/2012 11:52 AM, Abdullah Al-Malki wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chuck Reynolds  
View profile   Translate to Translated (View Original)
 More options Jan 15 2012, 2:21 pm
From: "Chuck Reynolds" <creyno...@tsieda.com>
Date: Sun, 15 Jan 2012 14:21:43 -0500
Local: Sun, Jan 15 2012 2:21 pm
Subject: RE: accessing multiple devices via a script
Hi Abdullah - Have you seen the new Resource Manager product from
QualiSystems?  It has this capability built into it and out of the box to
support large numbers of devices.

Let me know off line where you are located and I can hook you up.

Regards,

Chuck


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rhys Rhaven  
View profile  
 More options Jan 15 2012, 2:42 pm
From: Rhys Rhaven <r...@rhavenindustrys.com>
Date: Sun, 15 Jan 2012 13:42:29 -0600
Local: Sun, Jan 15 2012 2:42 pm
Subject: Re: accessing multiple devices via a script
Is "full disclosure" expected on NANOG, or is it just polite? Like
mentioning that Chuck Reynolds is a salesman for QualiSystems, and not
just another network operator passing on what they might think will help?

On 01/15/2012 01:21 PM, Chuck Reynolds wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shahab Vahabzadeh  
View profile   Translate to Translated (View Original)
 More options Jan 15 2012, 2:48 pm
From: Shahab Vahabzadeh <sh.vahabza...@gmail.com>
Date: Sun, 15 Jan 2012 23:18:28 +0330
Local: Sun, Jan 15 2012 2:48 pm
Subject: Re: accessing multiple devices via a script
Like Rhys Rhaven.

On Sun, Jan 15, 2012 at 11:12 PM, Rhys Rhaven <r...@rhavenindustrys.com>wrote:

--
Regards,
Shahab Vahabzadeh, Network Engineer and System Administrator

PGP Key Fingerprint = 8E34 B335 D702 0CA7 5A81  C2EE 76A2 46C2 5367 BF90


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin M. Streiner  
View profile   Translate to Translated (View Original)
 More options Jan 15 2012, 11:14 am
From: "Justin M. Streiner" <strei...@cluebyfour.org>
Date: Sun, 15 Jan 2012 11:14:38 -0500 (EST)
Local: Sun, Jan 15 2012 11:14 am
Subject: Re: accessing multiple devices via a script

On Sun, 15 Jan 2012, Rhys Rhaven wrote:
> Is "full disclosure" expected on NANOG, or is it just polite? Like
> mentioning that Chuck Reynolds is a salesman for QualiSystems, and not
> just another network operator passing on what they might think will help?

I think it's reasonable to expect that sales people identify themselves as
such - including what vendor or re-seller they represent - on technical
mailing lists.  If sales solicitations are not permitted on the list, then
it's also reasonable to expect that sales people respect that rule, same
as everyone else on the list.

jms


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rhys Rhaven  
View profile  
 More options Jan 15 2012, 3:13 pm
From: Rhys Rhaven <r...@rhavenindustrys.com>
Date: Sun, 15 Jan 2012 14:13:11 -0600
Local: Sun, Jan 15 2012 3:13 pm
Subject: Re: accessing multiple devices via a script
Pseudonyms and declaring conflicts of interest are two separate things.

On 01/15/2012 01:48 PM, Shahab Vahabzadeh wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Michael Keller  
View profile  
 More options Jan 15 2012, 7:12 pm
From: James Michael Keller <jmkel...@houseofzen.org>
Date: Sun, 15 Jan 2012 19:12:07 -0500
Local: Sun, Jan 15 2012 7:12 pm
Subject: Re: accessing multiple devices via a script
On 01/15/2012 12:52 PM, Abdullah Al-Malki wrote:
> Hi fellows,
> I am supporting a big service provider and sometimes I face this problem.
> Sometimes I want to access my customer network and want to extract some
> verification output "show commands" from a large number of devices.

> What kind of scripting solutions you guys are using this case.

> Appreciate the feedback,
> Abdullah

clogin which is part of the RANCID suite.   I've even done wrapper front
ends that give operations device lists and configlets they can push with
it.  Or you can feed it command line options for one off pushes, etc.

--
-James


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Blake T. Pfankuch  
View profile  
 More options Jan 15 2012, 8:39 pm
From: "Blake T. Pfankuch" <bl...@pfankuch.me>
Date: Mon, 16 Jan 2012 01:39:23 +0000
Local: Sun, Jan 15 2012 8:39 pm
Subject: RE: accessing multiple devices via a script
I have been using PLINK (putty's lesser known sibling) scripts for some of our smaller customers to execute information gathering before a project in case of "excellent" documentation.  I can usually whip up a script in a few minutes to get sh ru, sh ver and sh diag from 20 devices.  Also been using it for a couple of small customers for config backup from webservers, switches, routers, firewalls and anything else with a telnet/ssh login.

Blake


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dale Shaw  
View profile  
 More options Jan 15 2012, 9:02 pm
From: Dale Shaw <dale.shaw+na...@gmail.com>
Date: Mon, 16 Jan 2012 13:02:18 +1100
Local: Sun, Jan 15 2012 9:02 pm
Subject: Re: accessing multiple devices via a script
Hi Abdullah,

On Mon, Jan 16, 2012 at 4:52 AM, Abdullah Al-Malki

<a.almalki1...@gmail.com> wrote:
> I am supporting a big service provider and sometimes I face this problem.
> Sometimes I want to access my customer network and want to extract some
> verification output "show commands" from a large number of devices.

> What kind of scripting solutions you guys are using this case.

Have a look at Notch:

http://code.google.com/p/notch/

Other people have already mentioned RANCID, which I agree is a very
handy set of tools and is worth investigating also.

Cheers,
Dale


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rafael Rodriguez  
View profile  
 More options Jan 15 2012, 9:05 pm
From: Rafael Rodriguez <packetjoc...@gmail.com>
Date: Sun, 15 Jan 2012 21:05:12 -0500
Local: Sun, Jan 15 2012 9:05 pm
Subject: Re: accessing multiple devices via a script
If your looking for something interactive, check out Mr. CLI

Sent from my iPhone

On Jan 15, 2012, at 12:52, Abdullah Al-Malki <a.almalki1...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Abdullah Al-Malki  
View profile  
 More options Jan 17 2012, 2:44 pm
From: Abdullah Al-Malki <a.almalki1...@gmail.com>
Date: Tue, 17 Jan 2012 22:44:50 +0300
Local: Tues, Jan 17 2012 2:44 pm
Subject: Re: accessing multiple devices via a script
Thank you all for your recommendations.
I will sit this weekend and evaluate what fits into my requirements.

Thanks all

On Mon, Jan 16, 2012 at 5:05 AM, Rafael Rodriguez <packetjoc...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabien Delmotte  
View profile   Translate to Translated (View Original)
 More options Jan 17 2012, 3:43 pm
From: Fabien Delmotte <fdelmot...@mac.com>
Date: Tue, 17 Jan 2012 21:43:33 +0100
Local: Tues, Jan 17 2012 3:43 pm
Subject: Re: accessing multiple devices via a script
Hello,

You can use also rancid.

Regards

Fabien

Le 17 janv. 2012 à 20:44, Abdullah Al-Malki a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Gatti  
View profile  
 More options Jan 17 2012, 7:05 pm
From: Mike Gatti <ekim.it...@gmail.com>
Date: Tue, 17 Jan 2012 16:05:43 -0800
Local: Tues, Jan 17 2012 7:05 pm
Subject: Re: accessing multiple devices via a script
Hey did anyone mention Rancid..., just kidding....
I've used ciscocmd in the past, a little outdated but worth looking at (http://sourceforge.net/projects/cosi-nms/files/ciscocmd/)
You might also have some fun writing your own expect scripts.

--
Michael Gatti  
main. 949.371.5474
(UTC -8)

On Jan 17, 2012, at 12:43 PM, Fabien Delmotte wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chip  
View profile  
 More options Jan 18 2012, 11:48 am
From: chip <chip.g...@gmail.com>
Date: Wed, 18 Jan 2012 11:48:02 -0500
Local: Wed, Jan 18 2012 11:48 am
Subject: Re: accessing multiple devices via a script
Like many others on here, I utilize rancid's set of scripts to handle
all the different platform's quirks for access.  I then wrap that
inside a perl script that can do things in parallel.  I'm no developer
by any stretch of the imagination but I can poke around in perl badly
enough to write some tools.  One perl module I've come across is
Parallel::Fork::BossWorkerAsync.  Using this module makes it
incredibly easily to run many instances in parallel while each
instance is just a bit different and then can gather data back from
each session.  Using some form of parallelization can significantly
decrease the amount of time things take.  I hope you find it as useful
as I have.

http://search.cpan.org/~jvannucci/Parallel-Fork-BossWorkerAsync-0.06/...

Good Luck!

--chip

On Sun, Jan 15, 2012 at 12:52 PM, Abdullah Al-Malki

<a.almalki1...@gmail.com> wrote:
> Hi fellows,
> I am supporting a big service provider and sometimes I face this problem.
> Sometimes I want to access my customer network and want to extract some
> verification output "show commands" from a large number of devices.

> What kind of scripting solutions you guys are using this case.

> Appreciate the feedback,
> Abdullah

--
Just my $.02, your mileage may vary,  batteries not included, etc....

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »