1SNMP::Info::Layer2::UbiUqsueirtiC(o3n)tributed Perl DocuSmNeMnPt:a:tIinofno::Layer2::Ubiquiti(3)
2
3
4

NAME

6       SNMP::Info::Layer2::Ubiquiti - SNMP Interface to Ubiquiti Access Points
7

AUTHOR

9       Max Kosmach
10

SYNOPSIS

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

DESCRIPTION

26       Provides abstraction to the configuration information obtainable from
27       Ubiquiti Access Point through SNMP.
28
29       For speed or debugging purposes you can call the subclass directly, but
30       not after determining a more specific class using the method above.
31
32        my $ubnt = new SNMP::Info::Layer2::Ubiquiti(...);
33
34   Inherited Classes
35       SNMP::Info::Layer2
36       SNMP::Info::IEEE802dot11
37
38   Required MIBs
39       None.
40
41   Inherited MIBs
42       See "Required MIBs" in SNMP::Info::Layer2 for its MIB requirements.
43
44       See "Required MIBs" in SNMP::Info::IEEE802dot11 for its MIB
45       requirements.
46

GLOBALS

48       These are methods that return scalar value from SNMP
49
50       $ubnt->vendor()
51           Returns 'Ubiquiti Networks, Inc.'
52
53       $ubnt->model()
54           Returns the model extracted from "dot11manufacturerProductName",
55           with failback to some complex logic for EdgeMax devices
56
57       $ubnt->serial()
58           Serial Number.
59
60       $ubnt->mac()
61           Bridge MAC address.
62
63       $ubnt->os()
64           Returns 'Ubiquiti Networks, Inc.'
65
66       $ubnt->os_ver()
67           Returns the software version extracted from
68           "dot11manufacturerProductVersion", with failback to description
69           splitting for EdgeMax devices
70
71   Global Methods imported from SNMP::Info::Layer2
72       See "GLOBALS" in SNMP::Info::Layer2 for details.
73
74   Global Methods imported from SNMP::Info::IEEE802dot11
75       See "GLOBALS" in SNMP::Info::IEEE802dot11 for details.
76

TABLE METHODS

78       These are methods that return tables of information in the form of a
79       reference to a hash.
80
81   Overrides
82       $ubiquiti->interfaces()
83           Uses the i_name() field.
84
85       $ubiquiti->i_ignore()
86           Ignores interfaces with "CPU Interface" in them.
87
88   Table Methods imported from SNMP::Info::Layer2
89       See "TABLE METHODS" in SNMP::Info::Layer2 for details.
90
91   Table Methods imported from SNMP::Info::IEEE802dot11
92       See "TABLE METHODS" in SNMP::Info::IEEE802dot11 for details.
93
94
95
96perl v5.28.1                      2019-04-04   SNMP::Info::Layer2::Ubiquiti(3)
Impressum