Quantcast
Channel: THWACK: Popular Discussions - Kiwi CatTools
Viewing all articles
Browse latest Browse all 21331

Backing up Alcatel OmniSwitch with CatTools

$
0
0

HI guys,

 

I have been trying to backup up my OmniSwitches (6850 p48 variants) with CatTools.

 

The built in device is for omnistacks which doesn't work (Omniswitches don't have an enable mode) so I started to write my own template.

 

I can get CatTools to log in and dump the config, however only half the config is dumped.

 

Initially it appeared it was because CatTools was seeing the session prompt command in the config and flushed everything after it because of bCleanBuffer option in the SendCommandSingle() function.

 

I changed the GetConfig() function so that it when it calls the SendCommandSingle() function it is passing false to the bCleanBuffer to try and stop the above, however this only gave me a few extra lines of the config and it is still missing most of the config.

 

Now I am pretty much stuck!

 

Any pointers as to why this might be happening?

 

Edit: Ok, setting the bCleanBuffer helps (stops it clearing everything after the session prompt) but another part of the function s seeing it and then runs the exit command which is why I get a few more lines. Investigation


Viewing all articles
Browse latest Browse all 21331

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>