Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20958

Re: How can I insert "enter" command in script?

$
0
0

Hi,

 

I've serched Google a little bit and it seems that some versions of Alteon OS support the following syntax:

 

Configuration# ptcfg <TFTP/FTP server> <filename> {-tftp | ftp user name ftp password} [-m | -mgmt | -d | -data]

 

Then the appropriate command in the device template should look like this:

<Command Name="DownloadConfigIndirect" Value="ptcfg ${StorageAddress} ${StorageFilename} -tftp" RegEx="#"/>

I don't know what the [-m | -mgmt | -d | -data] options mean.


Another possibility could be using the "DownloadConfig" command -- it grabs the output of a terminal session -- together with the dump command.


Regards,

Jiri


Viewing all articles
Browse latest Browse all 20958


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