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
34
35   Required MIBs
36       Inherited Classes' MIBs
37           MIBs listed in "Required MIBs" in SNMP::Info::Layer2 and its
38           inherited classes.
39

GLOBALS

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

TABLE METHODS

65       These are methods that return tables of information in the form of a
66       reference to a hash.
67
68   Overrides
69       $netgear->interfaces()
70           Uses the i_name() field.
71
72   Table Methods imported from SNMP::Info::Layer2
73       See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
74
75
76
77perl v5.32.0                      2020-07-28    SNMP::Info::Layer2::Netgear(3)
Impressum