[Users] Cisco CatOS

Kartick Suriamoorthy ksuriamoorthy at alterpoint.com
Mon May 12 08:56:27 CDT 2008


James,

Looks like the adapter is timing out while trying to get the config ...

Here is what I suggest you do :

Navigate to the following folder :
C:\workspace\ziptie-server\adapters\ziptie.adapters.cisco.catos_...\scripts\ZipTie\Adapters\Cisco\CatOS
Make a backup of the GetConfig.pm
Replace line 79 in the _get_config_cli in GetConfig.pm with the following :

$response = $cli_protocol->send_and_wait_for( $command, $enable_prompt, 600 );



This is basically increasing the timeout to 10 minutes (by default it is 30 seconds)  ...

Restart the client and server and try backing up the device once again ...

-- Kartick

________________________________
From: users-bounces at ziptie.org [mailto:users-bounces at ziptie.org] On Behalf Of Gilmore, James R
Sent: Monday, May 12, 2008 8:43 AM
To: ZipTie Users
Subject: Re: [Users] Cisco CatOS

Ok well I didn't do it right the first time so ignore my newness at this ;)

So I figured out what I did wrong the first time, and now the output is HUGE, as I can see the config of the device scrolling by on the screen.  So it looks like it is mostly working ... here are the last few lines.


set port ethernet-oam 6/29 link-fault action warning
set port ethernet-oam 6/30 link-monitor symbol-period window 625
set port ethernet-oam 6/30 link-monitor symbol-period low-threshold 1 action war
ning
 at scripts/ZipTie/Telnet.pm line 338


        at org.ziptie.perl.PerlServer.readResponse(PerlServer.java:452)
        at org.ziptie.perl.PerlServer.eval(PerlServer.java:275)
        at org.ziptie.adapters.AdapterInvokerElf.invoke(AdapterInvokerElf.java:1
29)
        ... 2 more


James Gilmore
james.gilmore at teradata.com<mailto:james.gilmore at teradata.com>
678-577-5814

Nicer than I want to be


________________________________
From: users-bounces at ziptie.org [mailto:users-bounces at ziptie.org] On Behalf Of Gilmore, James R
Sent: Monday, May 12, 2008 9:33 AM
To: ZipTie Users
Subject: Re: [Users] Cisco CatOS

Hopefully I did this correctly.


Executing 'backup' using 'ZipTie::Adapters::Cisco::CatOS'...
java.lang.reflect.InvocationTargetException: Can't call method "get_protocol_nam
e" on an undefined value at scripts/ZipTie/CLIProtocolFactory.pm line 31, <STDIN
> line 169.


        at org.ziptie.adapters.AdapterInvokerElf.getException(AdapterInvokerElf.
java:157)
        at org.ziptie.adapters.AdapterInvokerElf.invoke(AdapterInvokerElf.java:1
42)
        at org.ziptie.adaptertool.AdapterCli.run(AdapterCli.java:100)
        at org.ziptie.adaptertool.AdapterCli.main(AdapterCli.java:312)
Caused by: org.ziptie.perl.PerlException: Can't call method "get_protocol_name"
on an undefined value at scripts/ZipTie/CLIProtocolFactory.pm line 31, <STDIN> l
ine 169.


        at org.ziptie.perl.PerlServer.readResponse(PerlServer.java:452)
        at org.ziptie.perl.PerlServer.eval(PerlServer.java:275)
        at org.ziptie.adapters.AdapterInvokerElf.invoke(AdapterInvokerElf.java:1
29)
        ... 2 more


James Gilmore
james.gilmore at teradata.com<mailto:james.gilmore at teradata.com>
678-577-5814

Nicer than I want to be


________________________________
From: users-bounces at ziptie.org [mailto:users-bounces at ziptie.org] On Behalf Of John Tomawski
Sent: Monday, May 12, 2008 8:41 AM
To: ZipTie Users
Subject: Re: [Users] Cisco CatOS

James,

I suggest you download a copy of AdapterTool and run it against the device(s) you are experiencing the problem with. Paste the output to the list, and we can work on it.

http://dev.ziptie.org/builds/ZipTie-2008.04/AdapterTool.zip

Thanks,
John (nebj00la)

________________________________
From: users-bounces at ziptie.org [mailto:users-bounces at ziptie.org] On Behalf Of Gilmore, James R
Sent: Monday, May 12, 2008 8:22 AM
To: ZipTie Users
Subject: [Users] Cisco CatOS

I am having difficulties getting my CatOS switches into ZipTie.  When I try to back them up the backup runs and then looks like it completes but it is not backing them up.  I ma not getting any errors, it just doesn't work.  When I change the type to IOS, it fails which is to be expected but I did that to confirm communication.  Is there a debug that I can run while attempting a backup to see where it is failing?


James Gilmore
james.gilmore at teradata.com<mailto:james.gilmore at teradata.com>
678-577-5814

Nicer than I want to be




******************************************************************************

This email and any files transmitted with it are solely intended for the use of the addressee(s) and may contain information that is confidential and privileged. If you receive this email in error, please advise us by return email immediately. Please also disregard the contents of the email, delete it and destroy any copies immediately.



Computershare Limited and its subsidiaries do not accept liability for the views expressed in the email or for the consequences of any computer viruses that may be transmitted with this email.



This email is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner.

******************************************************************************


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ziptie.org/pipermail/users/attachments/20080512/13c4bf4b/attachment-0001.html 


More information about the Users mailing list