Using commands with clogin that require confirmation

Saku Ytti saku+rancid at ytti.fi
Mon Oct 3 15:39:37 UTC 2005


On (2005-10-03 11:29 -0400), David LaPorte wrote:

> Using "\n" has worked for us.  The following is an example showing an
> ACL being uploaded via the interactive prompts on a 6509 running native IOS:
> 
> -c "conf net\nhost\n192.168.1.1\nACL/123-routergw1.ip\n;wr mem"

 Sorry my hasty posting, I misread your command, and indeed \n works
as well as \r.
 Now I only have to wonder why I thought it didn't, as I'm sure I tried
it first when I had same problem :)

-- 
  ++ytti



More information about the Rancid-discuss mailing list