Hi All
I'm trying to have CatTools to backup my HPE StoreFabric SN2010M storage switches.
These switches are rebranded Mellanox switches
So far my first issue was that the enable mode on the CLI was with a space after the "#" mark
I've managed to get this resolved using:
Private Const DEVICE_PRIVILEGEDPROMPT = "# "
in the created script for this device type.
I have successfully managed to have CatTools save a copy of the running config, BUT, and this is the tricky part for me:
After each 24 lines, the switch sends:
"lines 1-23"
which in my stored config file looks like:
" [7mlines 1-23 [m [K
[K "
This reoccurs after each normal CLI screen throughout the entire config file.
I'm not at all a script guy - so can somebody give me a clue on how to ignore each 24th line or something similiar, so the running config is cleaned for these annoying lines?