Help for this page

Select Code to Download


  1. or download this
    $cs->send_wakeup('connect');
    $cs->login(...);
    
  2. or download this
    use Net::Telnet::Cisco;
    my ($host, $user, $pass) = qw(10.10.1.1 user pass);
    ...
    my @cmd_output = $cs->cmd( 'show ver | inc Configuration' );
    print @cmd_output;
    $cs->close;