Re: [c-nsp] script

2016-09-21 Thread James Bensley
On 21 September 2016 at 12:10, Lijalem Fetene wrote: > Dears, > I want to login to hundreds of routers simultaneously in either telnet > /ssh and execute some command to each device and return the output. Is > there anyone to help me please ? If you actually want the

Re: [c-nsp] script

2016-09-21 Thread David
Hi!. Use Phyton and paramiko library. David 2016-09-21 13:21 GMT+01:00 Ryan West : > > Hi, > > > On Sep 21, 2016, at 7:11 AM, Lijalem Fetene > wrote: > > > > Dears, > > I want to login to hundreds of routers simultaneously in either telnet > > /ssh

Re: [c-nsp] script

2016-09-21 Thread Ryan West
Hi, > On Sep 21, 2016, at 7:11 AM, Lijalem Fetene wrote: > > Dears, > I want to login to hundreds of routers simultaneously in either telnet > /ssh and execute some command to each device and return the output. Is > there anyone to help me please ? > >

[c-nsp] script

2016-09-21 Thread Lijalem Fetene
Dears, I want to login to hundreds of routers simultaneously in either telnet /ssh and execute some command to each device and return the output. Is there anyone to help me please ? *Kind Regards* *Lijalem Fetene* ___ cisco-nsp mailing list

[c-nsp] Script to track memory leaks?

2010-12-13 Thread Sascha Pollok
Hello routing-people out there, I am currently trying to track down a memory leak on a Cisco router and I'm wondering whether there is a script out there to collect sh proc mem periodically so that I get the chance to find out which process is leaking. Most likely BGP but who knows. Of course a

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Ziv Leyes
/to/id_rsa u...@your_router_address sh proc mem | grep BGP HTH Ziv -Original Message- From: cisco-nsp-boun...@puck.nether.net [mailto:cisco-nsp-boun...@puck.nether.net] On Behalf Of Sascha Pollok Sent: Monday, December 13, 2010 11:02 AM To: cisco-nsp@puck.nether.net Subject: [c-nsp

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Sascha Pollok
] On Behalf Of Sascha Pollok Sent: Monday, December 13, 2010 11:02 AM To: cisco-nsp@puck.nether.net Subject: [c-nsp] Script to track memory leaks? Hello routing-people out there, I am currently trying to track down a memory leak on a Cisco router and I'm wondering whether there is a script out

[c-nsp] Script to track memory leaks

2010-12-13 Thread chris stand
Perhaps you could use the ciscocmd package. I set up a 5 minute cron job to do the exact same thing. One nice thing is you can pipe the output from the router command into another command. Something like the below ./ciscocmd -u user - p password -h router_ip -c show mem | head or ./ciscocmd

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Gert Doering
Hi, On Mon, Dec 13, 2010 at 01:25:29PM +0200, Ziv Leyes wrote: http://blog.ioshints.info/2009/10/ssh-rsa-authentication-works-in-ios.html Great to see this implemented. Does one of you know whether this is on the roadmap for SX* and SR* IOS? gert -- USENET is *not* the non-clickable part of

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Phil Mayers
On 13/12/10 16:23, Gert Doering wrote: Hi, On Mon, Dec 13, 2010 at 01:25:29PM +0200, Ziv Leyes wrote: http://blog.ioshints.info/2009/10/ssh-rsa-authentication-works-in-ios.html Great to see this implemented. Does one of you know whether this is on the roadmap for SX* and SR* IOS? Pfft.

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Jared Mauch
here's what you likely want to collect: sh ver sh proc mem sort sh mem dead totals sh mem dead show mem allocating-process totals with this sprinkled in periodically: Show mem debug leak sum Show mem debug leak chunk - Jared On Dec 13, 2010, at 4:02 AM, Sascha Pollok wrote: Hello

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Nick Hilliard
On 13/12/2010 16:23, Gert Doering wrote: On Mon, Dec 13, 2010 at 01:25:29PM +0200, Ziv Leyes wrote: http://blog.ioshints.info/2009/10/ssh-rsa-authentication-works-in-ios.html Great to see this implemented. oh, interesting. But is there any support for putting these keys into a tacacs+

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Gert Doering
Hi, On Mon, Dec 13, 2010 at 04:31:45PM +, Phil Mayers wrote: Does one of you know whether this is on the roadmap for SX* and SR* IOS? Pfft. Given I was told BGP selective address tracking is roadmapped in SX* for 2012 (!) the other day, despite having been in SR* since 2007, I

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Mihyar Baroudi
ja...@puck.nether.net To: Sascha Pollok nsp-l...@pollok.net Cc: cisco-nsp@puck.nether.net Subject: Re: [c-nsp] Script to track memory leaks? Message-ID: dcd94875-5548-458f-97e3-397e2a745...@puck.nether.net Content-Type: text/plain; charset=us-ascii here's what you likely want to collect

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Nick Hilliard
On 13/12/2010 16:46, Gert Doering wrote: Since rumors say that Sup2T will run IOS XE, the future looks quite exciting... Is it true that the Sup2T will be shipping at around the same time as Duke Nukem Forever. Nick ___ cisco-nsp mailing list

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Alan Buxey
No, its due with the first DNF expansion pack ;) - Reply message - From: Nick Hilliard n...@foobar.org Date: Mon, Dec 13, 2010 17:40 Subject: [c-nsp] Script to track memory leaks? To: Gert Doering g...@greenie.muc.de Cc: cisco-nsp@puck.nether.net cisco-nsp@puck.nether.net On 13/12/2010

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Gert Doering
Hi, On Mon, Dec 13, 2010 at 05:36:38PM +, Nick Hilliard wrote: Is it true that the Sup2T will be shipping at around the same time as Duke Nukem Forever. That would be quite exciting - Amazon lists DNF as will be released on february 1st, 2011... gert -- USENET is *not* the non-clickable

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Daniel Holme
On 13 Dec 2010, at 16:31, Phil Mayers p.may...@imperial.ac.uk wrote: On 13/12/10 16:23, Gert Doering wrote: Hi, On Mon, Dec 13, 2010 at 01:25:29PM +0200, Ziv Leyes wrote: http://blog.ioshints.info/2009/10/ssh-rsa-authentication-works-in-ios.html Great to see this implemented. Does

Re: [c-nsp] Script to track memory leaks?

2010-12-13 Thread Andriy Bilous
Don't get all excited, it's 10G only. :/ On Mon, Dec 13, 2010 at 10:14 PM, Daniel Holme dan.ho...@gmail.com wrote: On 13 Dec 2010, at 16:31, Phil Mayers p.may...@imperial.ac.uk wrote: On 13/12/10 16:23, Gert Doering wrote: Hi, On Mon, Dec 13, 2010 at 01:25:29PM +0200, Ziv Leyes wrote:

[c-nsp] Script to backup a pix 6.3

2008-07-10 Thread luismi
Hi all, Is there anyone there who can send me a script (linux shell script, perl, python, expect...) to do a cisco pix 6.3 backup? If not I will create a new one, but I would be much better if I don't need to re-create the wheel again if someone can share a script. Regards.

Re: [c-nsp] Script to backup a pix 6.3

2008-07-10 Thread Ziv Leyes
Subject: [c-nsp] Script to backup a pix 6.3 Hi all, Is there anyone there who can send me a script (linux shell script, perl, python, expect...) to do a cisco pix 6.3 backup? If not I will create a new one, but I would be much better if I don't need to re-create the wheel again if someone can

Re: [c-nsp] Script to backup a pix 6.3

2008-07-10 Thread Nick Slager
On 10/07/2008, at 7:38 PM, luismi wrote: Is there anyone there who can send me a script (linux shell script, perl, python, expect...) to do a cisco pix 6.3 backup? RANCID supports the PIX. See http://shrubbery.net/rancid/ Nick ___ cisco-nsp

Re: [c-nsp] Script to backup a pix 6.3

2008-07-10 Thread luismi
] On Behalf Of luismi Sent: Thursday, July 10, 2008 12:39 PM To: cisco-nsp@puck.nether.net Subject: [c-nsp] Script to backup a pix 6.3 Hi all, Is there anyone there who can send me a script (linux shell script, perl, python, expect...) to do a cisco pix 6.3 backup? If not I will create a new