1SNMP::Info::Layer1::AllUiseedr(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer1::Allied(3)
2
3
4
6 SNMP::Info::Layer1::Allied - SNMP Interface to old Allied Hubs
7
9 Max Baker
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::Layer1
32
33 Required MIBs
34 ATI-MIB
35
36 Inherited MIBs
37 See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.
38
40 These are methods that return scalar value from SNMP
41
42 Overrides
43 $allied->vendor()
44 Returns 'allied' :)
45
46 $allied->os()
47 Returns 'allied'
48
49 $allied->os_ver()
50 Culls Version from description()
51
52 $allied->root_ip()
53 Returns IP Address of Managed Hub.
54
55 ("actualIpAddr")
56
57 $allied->model()
58 Tries to cull out "AT-nnnnX" out of the description field.
59
60 Global Methods imported from SNMP::Info::Layer1
61 See "GLOBALS" in SNMP::Info::Layer1 for details.
62
64 Overrides
65 $allied->i_name()
66 Returns reference to map of IIDs to human-set port name.
67
68 $allied->i_up()
69 Returns reference to map of IIDs to link status. Changes the
70 values of ati_up() to 'up' and 'down'.
71
72 Allied MIB
73 $allied->ati_p_name()
74 ("portName")
75
76 $allied->ati_up()
77 ("linkTestLED")
78
79 Table Methods imported from SNMP::Info::Layer1
80 See "TABLE METHODS" in SNMP::Info::Layer1 for details.
81
82
83
84perl v5.30.0 2019-10-30 SNMP::Info::Layer1::Allied(3)