]> git.sesse.net Git - nms/blobdiff - clients/zyxelng.pl
Add cisco auth and basic ios handling for zyxelng.
[nms] / clients / zyxelng.pl
diff --git a/clients/zyxelng.pl b/clients/zyxelng.pl
new file mode 100644 (file)
index 0000000..e46f0fb
--- /dev/null
@@ -0,0 +1,17 @@
+#!/usr/bin/perl -w
+#
+#
+
+use strict;
+use lib '../include';
+
+use nms;
+use ios;
+
+
+my $t = nms::ios_connect('62.148.36.12', 'c', 'c', 'c');
+
+print STDERR "No such network 192.168.1.0\n" if nms::ios_getroute($t, "192.168.1.0") == 0;
+
+nms::ios_close($t);
+