Thwack,
I'm trying to use CatTools on Nortel Passport 15k frames. I see two issues.
1) the output is coming immediately, even before CatTools can get its first rgMult(1) [assuming rgMult(1)-->WFMDRetVal=1 in debug]. Is there any possible workaround for this? Can CatTools format the text its holding in buffer, and just output that to a file rather than reporting nothing? In the debug capture below, you can see the 2nd time WFMDBuffer still contains the correct output of the command "d fs". All i need is for it to output that to a report, rather than warning out to "Did not receive expected response to command: d fs" in the Info Log, and thus not producing a report.
2) There is no real hostname in front of the command prompt for these boxes. It simply goes to the next task number. Such as 2>, 3>, 4>, 5>, 6> ... I tried even deleting the hostname function from a custom device with a custom script, but I was unable to get CatTools to auto-learn to read for the next number. It always goes back to "waiting response for" "1>" or ">", based on changes I've been able to make.
Any help would be appreciated, Thank you!
DEBUG CAPTURE:
<NEWSESSION CatTools 3.6.0 1/24/2012 3:49:11 PM>
<PROTOCOL=Telnet>
<DEVICE TYPE=Nortel.Switch.Passport>
<ACTIVITY TYPE=Device.CLI.Send commands>
<ACTIVITY SCRIPT=C:\Program Files\CatTools3\Scripts\Client.Device.CLI.Send commands.txt>
<USERS NAME FOR DEVICE=CSVS.PASSPORT15k>
<C OK 3:49:11 PM><R-3:49:11 PM>[13][10][13][10]WARNING! This computer system BANNER.[13][10][13][10][13]Enter login: <W-3:49:11 PM>xxxxx[13]<R-3:49:11 PM>o<R-3:49:11 PM>per1[13][10]Enter password: <W-3:49:11 PM>xxxx[13]<R-3:49:11 PM>[13]<R-3:49:11 PM>[10][10][13]Userid xxxx logged in as EM/Bxxxx Nmis Telnet Session/1 at 15:49:11[10][13][10][13]1> <W-3:49:11 PM>[13]<R-3:49:11 PM>[13]<R-3:49:12 PM>[10][10][13]1> <W-3:49:12 PM>config cli more false<R-3:49:12 PM>c<R-3:49:12 PM>onfig cli more false<W-3:49:12 PM>[13]<R-3:49:12 PM>[13]<R-3:49:12 PM>[10]EM/Bxxxx[10][13]Invalid syntax: {verb} incompatible with <component>.[10][13] Input: {config} <>cli more false[10][13]command failed 2012-01-24 15:49:12.37[10][13][10][13]2>
================================================================================
WFMDRetVal=1 Waiting for: "1>"
WFMDRetVal=2 Waiting for: "1#"
WFMDBuffer="[13][10]em/[10][13]invalid syntax: {verb} incompatible with <component>.[10][13] input: {config} <>cli more false[10][13]command failed 2012-01-24 15:49:12.37[10][13][10][13]2> "
================================================================================
<W-3:49:42 PM>d fs<R-3:49:42 PM>d<R-3:49:42 PM> fs<W-3:49:42 PM>[13]<R-3:49:42 PM>[13]<R-3:49:42 PM>[10]Fs[10][13] adminState = unlocked[10][13] operationalState = enabled[10][13] usageState = active[10][13] volumeName = volumeNotSe[10][13] activeDisk = Fs Disk/1[10][13] syncStatus = synchronized[10][13] syncProgress = 100 %[10][13] capacity = 4294770688 bytes[10][13] freeSpace = 1924726784 bytes[10][13] usage = 55 %[10][13]ok 2012-01-24 15:49:42.89[10][13][10][13]3>
================================================================================
WFMDRetVal=1 Waiting for: "--More--"
WFMDRetVal=2 Waiting for: "not found in path"
WFMDRetVal=3 Waiting for: "unknown command"
WFMDRetVal=4 Waiting for: "(y/n)"
WFMDRetVal=18 Waiting for: "1("
WFMDRetVal=19 Waiting for: "1>"
WFMDRetVal=20 Waiting for: "1#"
WFMDBuffer="d fs[13][10]fs[10][13] adminstate = unlocked[10][13] operationalstate = enabled[10][13] usagestate = active[10][13] volumename = volumenotse[10][13] activedisk = fs disk/1[10][13] syncstatus = synchronized[10][13] syncprogress = 100 %[10][13] capacity = 4294770688 bytes[10][13] freespace = 1924726784 bytes[10][13] usage = 55 %[10][13]ok 2012-01-24 15:49:42.89[10][13][10][13]3> "
================================================================================