1Info::Layer3::NetscreenU(s3e)r Contributed Perl DocumentaItnifoon::Layer3::Netscreen(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Netscreen - SNMP Interface to Juniper Netscreen
7       Devices
8

AUTHOR

10       Kent Hamilton
11

SYNOPSIS

13           #Let SNMP::Info determine the correct subclass for you.
14
15           my $netscreen = new SNMP::Info(
16                                 AutoSpecify => 1,
17                                 Debug       => 1,
18                                 DestHost    => 'myswitch',
19                                 Community   => 'public',
20                                 Version     => 2
21                               )
22
23           or die "Can't connect to DestHost.\n";
24
25           my $class = $netscreen->class();
26           print "SNMP::Info determined this device to fall under subclass : $class\n";
27

DESCRIPTION

29       Provides abstraction to the configuration information obtainable from a
30       Netscreen device through SNMP. See inherited classes' documentation for
31       inherited methods.
32
33       my $netscreen = new SNMP::Info::Layer3::Netscreen(...);
34
35   Inherited Classes
36       SNMP::Info::Layer3
37
38   Required MIBs
39       NETSCREEN-SMI
40       NETSCREEN-PRODUCTS-MIB
41       NETSCREEN-INTERFACE-MIB
42       NETSCREEN-SET-GEN-MIB
43       Inherited Classes
44           See "Required MIBs" in SNMP::Info::Layer3 and its inherited
45           classes.
46

GLOBALS

48       These are methods that return scalar value from SNMP
49
50       $netscreen->vendor()
51           Returns 'netscreen'
52
53       $netscreen->os()
54           Returns 'screenos'
55
56       $netscreen->os_ver()
57           Extracts the OS version from the description string.
58
59       $netscreen->serial()
60           Returns serial number..
61
62   Overrides
63       $netscreen->layers()
64           Returns 01001100.  Device doesn't report layers properly, modified
65           to reflect Layer3 functionality.
66
67   Globals imported from SNMP::Info::Layer3
68       See "GLOBALS" in SNMP::Info::Layer3 for details.
69

TABLE METHODS

71       These are methods that return tables of information in the form of a
72       reference to a hash.
73
74   Table Methods imported from SNMP::Info::Layer3
75       See "TABLE METHODS" in SNMP::Info::Layer3 for details.
76
77
78
79perl v5.12.0                      2009-06-12        Info::Layer3::Netscreen(3)
Impressum