Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 49.600.083 Times

Net::Telnet::Netscreen 1.1

  Date Added: March 22, 2010  |  Visits: 1.365

Net::Telnet::Netscreen

Report Broken Link
Printer Friendly Version


Product Homepage
Download (105 downloads)



Net::Telnet::Netscreen is a Perl module that interacts with a Netscreen firewall. Net::Telnet::Netscreen is mostly a pure rippoff of Net::Telnet::Cisco, with adaptations to make it work on the Netscreen firewalls. It also has some additional commands, but for basic functionality, see Net::Telnet and Net::Telnet::Cisco documentation. use Net::Telnet::Netscreen; my $fw = new Net::Telnet::Netscreen(host=>192.168.1.1); $fw->login(admin,password) or die $fw->error; $fw->enter_vsys(wineasy.no); print "We are now in: ".$fw->current_vsys."n"; my %vsys=$fw->get_vsys; foreach $key (sort (keys %vsys)) { print $key,=, $vsys{$key},"n"; } print @results; Before you use Net::Telnet::Netscreen, you should probably have a good understanding of Net::Telnet, so perldoc Net::Telnet first, and then come back to Net::Telnet::Netscreen to see where the improvements are. Some things are easier to accomplish with Net::SNMP. SNMP has three advantages: its faster, handles errors better, and doesnt use any vtys on the router. SNMP does have some limitations, so for anything you cant accomplish with SNMP, theres Net::Telnet::Netscreen. New methods not found in Net::Telnet follow: enter_vsys - enter a virtual system Enter a virtual system in the firewall. parameter is system you want to enter . You may enter another vsys even if you are in a vsys. Note that we will save your changes for you if you do. (only works for ns-500+) enter_vsys - exit from the level you are on exit from the vsys you are in, or from the system if you are on the top. takes one parameter. if you should save any changes or not. (only works for ns-500+) current_vsys - show current vsys return the vsys you currently are in. returns blank if youre not in a vsys. (only works for ns-500+) get_vsys - return vsys. returns a hash of all the virtual systems on your system, with system ids for values (only works for ns-500+) ha_mode - return high availability mode. return the HA mode, if your system is in a HA cluster, or false if it isnt. ping - ping a system. Returns percentage of success (0-100). $sucess=$fw->ping(192.168.1.1); exit - Exit system use this command to exit system, or exit current vsys getValue - Set a value from the box. Will return a value from the firewall, or from the vsys you are in, if you arent in root. setValue - Set a Value in the box. Set a value in the box, returns true if set successfully. lastPrompt - Show the last prompt returned. Shows the last prompt returned by your netscreen device. lastCmd - Show the last command executed. Shows the last command executed on your netscreen device..

Requirements: No special requirements
Platforms: Linux
Keyword: Exit Libraries Netscreen Nettelnetnetscreen Perl Module Programming Return Snmp System Value Vsys
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


NET::TELNET::NETSCREEN RELATED
Libraries  -  Data::Type 0.01.04
Data::Type is a Perl module with versatile data and value types. SYNOPSIS use Data::Type qw(:all); use Error qw(:try); try { verify $email , EMAIL; verify $homepage , URI(http); verify $cc , CREDITCARD( MASTERCARD, VISA ); verify...
22.53 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  File::Revision 0.03
File::Revision is a Perl module to return a name of non-existing backup file with a revision id. SYNOPSIS ####### # Subroutine interface # use File::Revision qw(new_revision num2revision parse_options revision2num revision_file rotate);...
89.09 KB  
Libraries  -  SNMP::Multi 2.1
SNMP::Multi is a Perl module to perform SNMP operations on multiple hosts simultaneously. SYNOPSIS use SNMP::Multi; my $req = SNMP::Multi::VarReq->new ( nonrepeaters => 1, hosts => [ qw/ router1.my.com router2.my.com / ], vars => [ [...
25.6 KB  
Libraries  -  Statistics::Forecast 0.3
Statistics::Forecast is a Perl module that calculates a future value. This is a dummy Oriented Object module that calculates a future value by using existing values. The new value is calculated by using linear regression. SYNOPSIS use...
3.07 KB  
Libraries  -  SNMP::Persist 0.05
SNMP::Persist is a Perl module for the SNMP pass_persist threaded backend. SYNOPSIS use SNMP::Persist qw(&define_oid &start_persister &define_subtree); use strict; use warnings; #define base oid to host the subtree...
6.14 KB  
Libraries  -  HCKit::Template 0.02
HCKit::Template is a Perl module with a template system for HTML construction. This module constructs an HTML page from a template. The conversion proceeds with the help of rewrite rules and data sources. Rewrite rules can be specified in the...
11.26 KB  
Libraries  -  App::SimpleScan::Plugin::Forget 1.02
App::SimpleScan::Plugin::Forget is a Perl module to forget a variables value. SYNOPSIS # In a simple_scan input file, after installing this module: # Define the variable foo: %%var foo baz bar quux # Later in the file: %%forget foo #...
4.1 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB