Automating a command

Unanswered Question
Jan 11th, 2009
User Badges:

Hi all,

please can some 1 help me understand how to automate a command that requires my input to confirm the rest of the cmd here is what im trying to do:

/rsh -l Router1 root write network (ip)

the cmd run's perfectly fine from my windows box but the cmd "write network" requires me to complete the rest of the cmd by confirming and destination file name.

is there a way to complete the cmd like switches in DOS? so that this can become a scheduled scripted process for me?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Mon, 01/12/2009 - 08:32
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

You can configure "file prompt quiet" on the device.


This Discussion