1SNMP::Info::Layer1::AsaUnsteer(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer1::Asante(3)
2
3
4

NAME

6       SNMP::Info::Layer1::Asante - SNMP Interface to old Asante 1012 Hubs
7

AUTHOR

9       Max Baker
10

SYNOPSIS

12        # Let SNMP::Info determine the correct subclass for you.
13        my $asante = new SNMP::Info(
14                                 AutoSpecify => 1,
15                                 Debug       => 1,
16                                 DestHost    => 'myswitch',
17                                 Community   => 'public',
18                                 Version     => 2
19                               )
20           or die "Can't connect to DestHost.\n";
21
22        my $class = $asante->class();
23        print "SNMP::Info determined this device to fall under subclass : $class\n";
24

DESCRIPTION

26       Provides abstraction to the configuration information obtainable from
27       an Asante device through SNMP.
28
29   Inherited Classes
30       SNMP::Info::Layer1
31
32   Required MIBs
33       ASANTE-AH1012-MIB
34
35   Inherited MIBs
36       See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.
37

GLOBALS

39   Overrides
40       $asante->os()
41           Returns 'asante'
42
43       $asante->os_ver()
44           Culls software version from description()
45
46       $asante->vendor()
47           Returns 'asante'
48
49       $asante->model()
50           Cross references $asante->id() to the ASANTE-AH1012-MIB and returns
51           the results.
52
53   Global Methods imported from SNMP::Info::Layer1
54       See "GLOBALS" in SNMP::Info::Layer1 for details.
55

TABLE METHODS

57   Overrides
58       $asante->interfaces()
59           Returns reference to the map between IID and physical Port.
60
61       $asante->i_description()
62           Description of the interface.
63
64       $asante->i_mac()
65           MAC address of the interface.  Note this is just the MAC of the
66           port, not anything connected to it.
67
68       $asante->i_name()
69           Returns reference to map of IIDs to human-set port name.
70
71       $asante->i_up()
72           Returns reference to map of IIDs to link status.  Changes the
73           values of asante_up() to 'up' and 'down'.
74
75       $asante->i_speed()
76           Speed of the link, human format.
77
78   Asante MIB
79       $asante->ati_p_name()
80           ("portName")
81
82       $asante->ati_up()
83           ("linkTestLED")
84
85   Table Methods imported from SNMP::Info::Layer1
86       See "TABLE METHODS" in SNMP::Info::Layer1 for details.
87
88
89
90perl v5.32.0                      2020-07-28     SNMP::Info::Layer1::Asante(3)
Impressum