"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi,
I try to use the module Net::OpenSSH with a Cisco to make simple test.
I wish to execute 3 commands, without saving the result. The comman number 4 must capture the result.
I use the system command for the 3 first and capture for the command 4.
Unfortunatly, the command system seems to make problem.
Here the resultat. If I use only the command capture, no problem of connexion. ************************************************************************** * IOSv is strictly limited to use for evaluation, demonstration and IOS * * education. IOSv is provided as-is and is not supported by Cisco's * * Technical Advisory Center. Any use or disclosure, in whole or in part, * * of the IOSv Software or Documentation to any third party for any * * purposes is expressly prohibited except as otherwise authorized by * * Cisco in writing. * ************************************************************************** Enter configuration commands, one per line. End with CNTL/Z.Connection to 192.168.109.10 closed by remote host. ************************************************************************** * IOSv is strictly limited to use for evaluation, demonstration and IOS * * education. IOSv is provided as-is and is not supported by Cisco's * * Technical Advisory Center. Any use or disclosure, in whole or in part, * * of the IOSv Software or Documentation to any third party for any * * purposes is expressly prohibited except as otherwise authorized by * * Cisco in writing. * **************************************************************************Password: Thanks for your help. In reply to Net::OpenSSH pass command by touriste75
|
|