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

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

Serving Software Downloads in 976 Categories, Downloaded 29.857.711 Times

Net::Telnet::Netscreen 1.1

  Date Added: March 22, 2010  |  Visits: 1.070

Net::Telnet::Netscreen

Report Broken Link
Printer Friendly Version


Product Homepage
Download (83 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  -  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  
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  -  Contextual::Return 0.1.0
Contextual::Return is a Perl module to create context-senstive return values. SYNOPSIS use Contextual::Return; use Carp; sub foo { return SCALAR { thirty-twelve } BOOL { 1 } NUM { 7*6 } STR { forty-two } LIST { 1,2,3 } HASHREF {...
22.53 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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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