in reply to Re: Re: Telnet into Cisco switches
in thread Telnet into Cisco switches

I am being lazy for the moment and not looking at the man page for Net::Telnet or Net::Telnet::Cisco.

There is a way to get Net::Telnet to write an audit log of the conversation between your script and the device. If you invoke that you might get some idea of what is going wrong.


Peter L. BergholdBrewer of Belgian Ales
Peter@Berghold.Netwww.berghold.net
Unix Professional

Replies are listed 'Best First'.
Re: Re: Re: Re: Telnet into Cisco switches
by Rex(Wrecks) (Curate) on Jul 11, 2003 at 17:09 UTC
    Yes, look into the dump_log:
    dump_log - log all I/O in dump format $fh = $obj->dump_log; $fh = $obj->dump_log($fh); $fh = $obj->dump_log($filename);


    "Nothing is sure but death and taxes" I say combine the two and its death to all taxes!