1SNMP::Info::Layer3::AirUosneert(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer3::Aironet(3)
2
3
4
6 SNMP::Info::Layer3::Aironet - Perl5 Interface to Cisco Aironet Wireless
7 Devices running Aironet software, not IOS
8
10 Max Baker
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $aironet = 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 = $aironet->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 SNMP::Info subclass to provide access to SNMP data for an Aironet
28 device running Aironet software, not cisco IOS.
29
30 Note there are two classes for Aironet devices :
31
32 SNMP::Info::Layer3::Aironet
33 This class is for devices running Aironet software (older)
34
35 SNMP::Info::Layer2::Aironet
36 This class is for devices running Cisco IOS software (newer)
37
38 For speed or debugging purposes you can call the subclass directly, but
39 not after determining a more specific class using the method above.
40
41 my $aironet = new SNMP::Info::Layer3::Aironet(...);
42
43 Inherited Classes
44 SNMP::Info::Layer3
45
46 Required MIBs
47 AWCVX-MIB
48 IEEE802dot11-MIB
49
50 These MIBs are now included in the v2.tar.gz archive available from
51 ftp.cisco.com. Make sure you have a current version.
52
54 These are methods that return scalar value from SNMP
55
56 $aironet->awc_duplex()
57 Gives the admin duplex setting for the Ethernet Port.
58
59 "awcEtherDuplex.0"
60
61 $aironet->mac()
62 Gives the MAC Address of the wireless side
63
64 "dot11StationID.2"
65
66 $aironet->os()
67 'aironet'
68
69 $aironet->os_ver
70 Tries to cull the version from the description field.
71
72 $aironet->vendor()
73 Returns 'cisco'.
74
75 Globals imported from SNMP::Info::Layer3
76 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
77
79 These are methods that return tables of information in the form of a
80 reference to a hash.
81
82 Overrides
83 $aironet->bp_index()
84 Takes the bp_index() value from SNMP::Info::Bridge and overrides
85 the wireless port to be assigned to the transparent bridge port
86 (port 0)
87
88 $aironet->fw_mac()
89 Adds static table entries from bs_mac() to port 0 so that wireless
90 MAC addresses will be reported. Forwarding table entries for port
91 0 are removed.
92
93 $aironet->fw_port()
94 Adds the static table port mappings to the forwarding table port
95 mappings by adding bs_port() to fw_port()
96
97 $aironet->i_duplex()
98 Adds the value of awc_duplex() to each Ethernet port seen.
99
100 $aironet->i_mac()
101 Overrides the values for i_mac with the value from awc_mac() if
102 they are set.
103
104 $aironet->i_ignore()
105 Ignores ports that are of type ``rptr'' and ``lo''.
106
107 Aironet specific items
108 $aironet->awc_default_mac()
109 Gives the default MAC address of each interface.
110
111 "awcIfDefaultPhysAddress"
112
113 $aironet->awc_mac()
114 Gives the actual MAC address of each interface.
115
116 "awcIfPhysAddress"
117
118 $aironet->awc_ip()
119 Gives the IP Address assigned to each interface.
120
121 "awcIfIpAddress"
122
123 $aironet->awc_netmask()
124 Gives the NetMask for each interface.
125
126 "awcIfIpNetMask"
127
128 $aironet->awc_msdu()
129 "awcIfMSDUMaxLength"
130
131 Table Methods imported from SNMP::Info::Layer3
132 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
133
134
135
136perl v5.28.0 2018-11-29 SNMP::Info::Layer3::Aironet(3)