...
From a machine connected on the base interface subnet of the RCE with IP address/name <hostname> <hostname>
type:
Code Block |
---|
console_host -h <hostname> |
The application above will show a command line prompt if the connection to <hostname> <hostname>
is successful. Currently the following commands may be issued through this command line:
...
From a machine connected on the base interface subnet of the RCE with IP address/name <hostname> <hostname>
type:
Code Block |
---|
debug_host -h <hostname> -f <exename> |
Where <exename> <exename>
is the file name, in the local UNIX file system, of the application which is currently running in the RCE and that is being debugged. The application above will show a command line prompt if the connection to <hostname> <hostname>
is successful. Currently the following commands may be issued through this command line:
Code Block |
---|
gettime: printPrint the current time in the RC elementRCE settime: setSet the current time in the RCE to be the same as in the UNIX host getexceptions: printPrint the exceptions (if any) recorded by the RCE since the last reset/power-on clearexceptions: clearClear all the recorded exceptions getmessageslog: printPrint all messages recorded by the RCE since the last reset/power-on clearmessagesclearlog: clearClear all the recorded messages getcontextcontext: showsShows a stack dump of the different threads running in the RCE dumpstatsstats: showsShows a dump of the local and RCE network statistics resetstats: Reset local and RCE network statistics burst <npackets> <nbytes>: sendsSends <npackets> UDP ethernet packets from the UNIX host to the RCE burstrequest <npackets> <nbytes>: sendsSends <npackets> raw ethernet packets from the RCE to the UNIX host echorequest <npackets> <nbytes>: sendsSends <npackets> UDP packets from the UNIX host to the RCE, the RCE echoes back each packet it receives |
Note that the <nbytes> <nbytes>
arguments in the commands above indicates the maximum number of bytes contained in the packet payload. The actual number of payload bytes is a flat distribution random number between 0 and <nbytes> <nbytes>
.
upload
From a machine connected on the base interface subnet of the RCE with IP address/name <hostname> <hostname>
type:
Code Block |
---|
upload_elf_host -h <hostname> -i <imgnum> -f <filename> |
Where <filename> <filename>
is the file name, in the local UNIX file system, of the ELF file which is to be stored at image number <imgnum> <imgnum>
in the RCE configuration flash memory. Note the image number must be between 1 and 15. You can then use the bootcfg command described in the console command line above to make the newly flashed image boot-able from the RCE.