- or download this
my $router = new Net::Telnet::Cisco(Host => $ip);
my @output = $router->cmd("sh users");
print @output;
- or download this
$router->cmd("terminal length 0");
- or download this
$router->cmd("terminal length 0");
$router->cmd("terminal length 0");
my @output = $router->cmd("sh users");
print @output;
- or download this
foreach my $server (@SERVERS) {
my ($sname,$sdom);
...
close ROUTER;
}