On Fri, 14 Dec 2001 12:11:24 MJ Ray wrote:
Simon:
rsh -l<login-name> <router-ip> sh ver
"rsh -l login ip" on its own should get you a login shell. rcp is the usual way to copy files across, but "cat srcfile | rsh -l login ip 'sh cat
destfile'" should work if you have to. Hope that helps.
-- MJR
Simon, was this what you were asking or are the contents of the file you talk of actually commands that the router should execute rather than data to be stored on the router?
If the file contains commands for the router to execute then all you need is:
rsh -l<login-name> <router-ip> < filename
Steve.