New answers tagged

1

Do you have to use putty from Windows? Coming from a Linux box, I would either do ( echo $password ; echo ; echo ; echo show mac-address ) \ | ssh -l $user xxx.xxx.xxx.xxx or if that does not work, I'd use the program expect. In fact there is a version of expect for Windows that you could probably use instead of plink. Expect syntax example off the top ...


0

sh run Observe the line in the config that you want to remove conf t #(config) undo "the line you want to remove" #(config) end # # wr mem You are done!



Top 50 recent answers are included