1SNMP::Info::Layer2::NetUgseearr(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer2::Netgear(3)
2
3
4

NAME

6       SNMP::Info::Layer2::Netgear - SNMP Interface to Netgear switches
7

AUTHOR

9        Bill Fenner and Zoltan Erszenyi,
10        Hacked in LLDP support from Baystack.pm by
11        Nic Bernstein <nic@onlight.com>
12

SYNOPSIS

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

DESCRIPTION

28       Provides abstraction to the configuration information obtainable from a
29       Netgear device through SNMP. See inherited classes' documentation for
30       inherited methods.
31
32   Inherited Classes
33       SNMP::Info::Layer2 =item SNMP::Info::Entity =item SNMP::Info::LLDP
34
35   Required MIBs
36       Inherited Classes' MIBs
37           MIBs listed in "Required MIBs" in SNMP::Info::Layer2 and its
38           inherited classes.
39
40           See "Required MIBs" in SNMP::Info::Entity for its MIB requirements.
41
42           See "Required MIBs" in SNMP::Info::LLDP for its MIB requirements.
43

GLOBALS

45       These are methods that return scalar value from SNMP
46
47   Overrides
48       $netgear->vendor()
49           Returns 'netgear'
50
51       $netgear->os()
52           Returns 'netgear'
53
54       $netgear->model()
55           Returns concatenation of $e_model and $e_hwver if Entity MIB
56           present, otherwise returns description()
57
58       $netgear->os_ver()
59           Returns OS Version.
60
61       $netgear->serial()
62           Returns Serial Number if available (older FS switches have no
63           accessible serial number).
64
65   Global Methods imported from SNMP::Info::Layer2
66       See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
67
68   Globals imported from SNMP::Info::Entity
69       See documentation in "GLOBALS" in SNMP::Info::Entity for details.
70
71   Globals imported from SNMP::Info::LLDP
72       See documentation in "GLOBALS" in SNMP::Info::LLDP for details.
73

TABLE METHODS

75       These are methods that return tables of information in the form of a
76       reference to a hash.
77
78   Overrides
79       $netgear->interfaces()
80           Uses the i_name() field.
81
82   Table Methods imported from SNMP::Info::Layer2
83       See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
84
85   Table Methods imported from SNMP::Info::Entity
86       See documentation in "TABLE METHODS" in SNMP::Info::Entity for details.
87
88   Table Methods imported from SNMP::Info::LLDP
89       See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
90
91
92
93perl v5.28.0                      2018-11-29    SNMP::Info::Layer2::Netgear(3)
Impressum