1SNMP::Info::Layer2::AllUiseedr(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer2::Allied(3)
2
3
4
6 SNMP::Info::Layer2::Allied - SNMP Interface to Allied Telesis switches
7
9 Max Baker, Dmitry Sergienko <dmitry@trifle.net>
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $allied = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 DestHost => 'myhub',
17 Community => 'public',
18 Version => 1
19 )
20 or die "Can't connect to DestHost.\n";
21
22 my $class = $allied->class();
23 print "SNMP::Info determined this device to fall under subclass : $class\n";
24
26 Provides abstraction to the configuration information obtainable from a
27 Allied device through SNMP. See inherited classes' documentation for
28 inherited methods.
29
30 Inherited Classes
31 SNMP::Info::Layer2
32
33 Required MIBs
34 AtiSwitch-MIB
35 AtiStackInfo-MIB
36 Download for your device from
37 ftp://ftp.allied-telesyn.com/pub/switches/mibs/
38
39 Inherited MIBs
40 See "Required MIBs" in SNMP::Info::Layer2 for its MIB requirements.
41
43 These are methods that return scalar value from SNMP
44
45 Overrides
46 $allied->vendor()
47 Returns 'allied'
48
49 $allied->os()
50 Returns 'allied'
51
52 $allied->os_ver()
53 Culls Version from description()
54
55 $allied->root_ip()
56 Returns IP Address of Managed Device.
57
58 ("actualIpAddr")
59
60 $allied->model()
61 Tries to cull out "AT-nnnnX" out of the description field.
62
63 $allied->mac()
64 Returns device MAC.
65
66 Globals imported from SNMP::Info::Layer2
67 See "GLOBALS" in SNMP::Info::Layer2 for details.
68
70 Overrides
71 $allied->i_up()
72 Returns reference to map of IIDs to link status. Changes the
73 values of ati_up() to 'up' and 'down'.
74
75 Table Methods imported from SNMP::Info::Layer2
76 See "TABLE METHODS" in SNMP::Info::Layer2 for details.
77
78
79
80perl v5.36.1 2023-07-17 SNMP::Info::Layer2::Allied(3)