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
51 These are methods that return scalar value from SNMP
52
53 $aironet->awc_duplex()
54 Gives the admin duplex setting for the Ethernet Port.
55
56 "awcEtherDuplex.0"
57
58 $aironet->mac()
59 Gives the MAC Address of the wireless side
60
61 "dot11StationID.2"
62
63 $aironet->os()
64 'aironet'
65
66 $aironet->os_ver
67 Tries to cull the version from the description field.
68
69 $aironet->vendor()
70 Returns 'cisco'.
71
72 Globals imported from SNMP::Info::Layer3
73 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
74
76 These are methods that return tables of information in the form of a
77 reference to a hash.
78
79 Overrides
80 $aironet->bp_index()
81 Takes the bp_index() value from SNMP::Info::Bridge and overrides
82 the wireless port to be assigned to the transparent bridge port
83 (port 0)
84
85 $aironet->fw_mac()
86 Adds static table entries from bs_mac() to port 0 so that wireless
87 MAC addresses will be reported. Forwarding table entries for port
88 0 are removed.
89
90 $aironet->fw_port()
91 Adds the static table port mappings to the forwarding table port
92 mappings by adding bs_port() to fw_port()
93
94 $aironet->i_duplex()
95 Adds the value of awc_duplex() to each Ethernet port seen.
96
97 $aironet->i_mac()
98 Overrides the values for i_mac with the value from awc_mac() if
99 they are set.
100
101 $aironet->i_ignore()
102 Ignores ports that are of type ``rptr'' and ``lo''.
103
104 Aironet specific items
105 $aironet->awc_default_mac()
106 Gives the default MAC address of each interface.
107
108 "awcIfDefaultPhysAddress"
109
110 $aironet->awc_mac()
111 Gives the actual MAC address of each interface.
112
113 "awcIfPhysAddress"
114
115 $aironet->awc_ip()
116 Gives the IP Address assigned to each interface.
117
118 "awcIfIpAddress"
119
120 $aironet->awc_netmask()
121 Gives the NetMask for each interface.
122
123 "awcIfIpNetMask"
124
125 $aironet->awc_msdu()
126 "awcIfMSDUMaxLength"
127
128 Table Methods imported from SNMP::Info::Layer3
129 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
130
131
132
133perl v5.34.0 2021-09-13 SNMP::Info::Layer3::Aironet(3)