1SNMP::Info::Layer2::NAPU2s2e2rx(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer2::NAP222x(3)
2
3
4
6 SNMP::Info::Layer2::NAP222x - SNMP Interface to Nortel 2220 Series
7 Access Points
8
10 Eric Miller
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $nap222x = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $nap222x->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Provides abstraction to the configuration information obtainable from a
28 Nortel 2220 series wireless Access Points through SNMP.
29
30 For speed or debugging purposes you can call the subclass directly, but
31 not after determining a more specific class using the method above.
32
33 my $nap222x = new SNMP::Info::Layer2::NAP222x(...);
34
35 Inherited Classes
36 SNMP::Info::SONMP
37 SNMP::Info::IEEE802dot11
38 SNMP::Info::Layer2
39
40 Required MIBs
41 NORTEL-WLAN-AP-MIB
42
43 Inherited MIBs
44 See "Required MIBs" in SNMP::Info::SONMP for its MIB requirements.
45
46 See "Required MIBs" in SNMP::Info::IEEE802dot11 for its MIB
47 requirements.
48
49 See "Required MIBs" in SNMP::Info::Layer2 for its MIB requirements.
50
52 These are methods that return scalar value from SNMP
53
54 $nap222x->model()
55 Returns the model extracted from "sysDescr".
56
57 $nap222x->os()
58 Returns 'nortel'
59
60 $nap222x->os_bin()
61 Returns the firmware version extracted from "ntWlanSwBootRomVer".
62
63 $nap222x->mac()
64 Returns the MAC address of the first Ethernet Interface.
65
66 $nap222x->serial()
67 Returns the MAC address of the first Ethernet Interface.
68
69 $nap222x->nt_hw_ver()
70 Returns the hardware version.
71
72 ("ntWlanSwHardwareVer")
73
74 $nap222x->nt_cc()
75 Returns the country code of the AP.
76
77 ("ntWlanSwHardwareVer")
78
79 $nap222x->tftp_action()
80 ("ntWlanTransferStart")
81
82 $nap222x->tftp_host()
83 ("ntWlanFileServer")
84
85 $nap222x->tftp_file()
86 ("ntWlanDestFile")
87
88 $nap222x->tftp_type()
89 ("ntWlanFileType")
90
91 $nap222x->tftp_result()
92 ("ntWlanFileTransferStatus")
93
94 $nap222x->tftp_xtype()
95 ("ntWlanTransferType")
96
97 $nap222x->tftp_src_file()
98 ("ntWlanSrcFile")
99
100 $nap222x->ftp_user()
101 ("ntWlanUserName")
102
103 $nap222x->ftp_pass()
104 ("ntWlanPassword")
105
106 Globals imported from SNMP::Info::SONMP
107 See "GLOBALS" in SNMP::Info::SONMP for details.
108
109 Global Methods imported from SNMP::Info::IEEE802dot11
110 See "GLOBALS" in SNMP::Info::IEEE802dot11 for details.
111
112 Global Methods imported from SNMP::Info::Layer2
113 See "GLOBALS" in SNMP::Info::Layer2 for details.
114
116 These are methods that return tables of information in the form of a
117 reference to a hash.
118
119 Overrides
120 $nap222x->interfaces()
121 Returns reference to map of IIDs to physical ports.
122
123 $nap222x->i_duplex()
124 Returns reference to hash. Maps port operational duplexes to IIDs.
125
126 ("ntWlanPortSpeedDpxStatus")
127
128 $nap222x->i_duplex_admin()
129 Returns reference to hash. Maps port admin duplexes to IIDs.
130
131 ("ntWlanPortCapabilities")
132
133 $nap222x->i_name()
134 Returns a human name based upon port description.
135
136 $nap222x->bp_index()
137 Returns a mapping between "ifIndex" and the Bridge Table. This
138 does not exist in the MIB and bridge port index is not the same as
139 "ifIndex" so it is created.
140
141 $nap222x->i_ssidlist()
142 Returns reference to hash. SSID's recognized by the radio
143 interface.
144
145 $nap222x->i_ssidbcast()
146 Returns reference to hash. Indicates whether the SSID is
147 broadcast.
148
149 $nap222x->i_80211channel()
150 Returns reference to hash. Current operating frequency channel of
151 the radio interface.
152
153 $nap222x->i_vlan()
154 The default Vlan ID of the radio interfaces.
155
156 ("ntWlanApVlanDefaultVid")
157
158 Table Methods imported from SNMP::Info::SONMP
159 See "TABLE METHODS" in SNMP::Info::SONMP for details.
160
161 Table Methods imported from SNMP::Info::IEEE802dot11
162 See "TABLE METHODS" in SNMP::Info::IEEE802dot11 for details.
163
164 Table Methods imported from SNMP::Info::Layer2
165 See "TABLE METHODS" in SNMP::Info::Layer2 for details.
166
167
168
169perl v5.28.0 2018-11-29 SNMP::Info::Layer2::NAP222x(3)