1SNMP::Info::Layer3::HP9U3s0e0r(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer3::HP9300(3)
2
3
4

NAME

6       SNMP::Info::Layer3::HP9300 - SNMP Interface to HP Foundry OEM Network
7       Devices
8

AUTHOR

10       Eric Miller
11

SYNOPSIS

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

DESCRIPTION

28       Abstraction subclass for HP network devices which Foundry Networks was
29       the Original Equipment Manufacturer (OEM) such as the HP ProCurve 9300
30       series.
31
32       For speed or debugging purposes you can call the subclass directly, but
33       not after determining a more specific class using the method above.
34
35        my $hp9300 = new SNMP::Info::Layer3::HP9300(...);
36
37   Inherited Classes
38       SNMP::Info::Layer3;
39       SNMP::Info::FDP;
40       SNMP::Info::LLDP;
41
42   Required MIBs
43       HP-SN-ROOT-MIB
44       HP-SN-AGENT-MIB
45       HP-SN-SWITCH-GROUP-MIB
46       Inherited Classes' MIBs
47           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
48           requirements.
49
50           See "Required MIBs" in SNMP::Info::FDP for its own MIB
51           requirements.
52
53           See "Required MIBs" in SNMP::Info::LLDP for its own MIB
54           requirements.
55

GLOBALS

57       These are methods that return scalar value from SNMP
58
59       $hp9300->model()
60           Returns model type.  Checks $hp9300->id() against the HP-SN-ROOT-
61           MIB and removes "hpSwitch".
62
63       $hp9300->vendor()
64           Returns 'hp'
65
66       $hp9300->os()
67           Returns 'hp'
68
69       $hp9300->os_ver()
70           Returns the software version
71
72       $hp9300->mac()
73           Returns MAC Address of root port.
74
75           ("ifPhysAddress.1")
76
77       $hp9300->chassis()
78           Returns Chassis type.
79
80           ("entPhysicalDescr.1")
81
82       $hp9300->serial()
83           Returns serial number of device.
84
85       $hp9300->temp()
86           Returns the chassis temperature
87
88           ("snChasActualTemperature")
89
90       $hp9300->ps1_type()
91           Returns the Description for the power supply
92
93           ("snChasPwrSupplyDescription.1")
94
95       $hp9300->ps1_status()
96           Returns the status of the power supply.
97
98           ("snChasPwrSupplyOperStatus.1")
99
100       $hp9300->fan()
101           Returns the status of the chassis fan.
102
103           ("snChasFanOperStatus.1")
104
105   Global Methods imported from SNMP::Info::Layer3
106       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
107
108   Global Methods imported from SNMP::Info::FDP
109       See documentation in "GLOBALS" in SNMP::Info::FDP for details.
110
111   Global Methods imported from SNMP::Info::LLDP
112       See documentation in "GLOBALS" in SNMP::Info::LLDP for details.
113

TABLE METHODS

115       These are methods that return tables of information in the form of a
116       reference to a hash.
117
118   Overrides
119       $hp9300->interfaces()
120           Returns reference to hash of interface names to iids.
121
122       $hp9300->i_ignore()
123           Returns reference to hash of interfaces to be ignored.
124
125           Ignores interfaces with descriptions of  tunnel,loopback,null
126
127       $hp9300->i_duplex()
128           Returns reference to hash of interface link duplex status.
129
130           Crosses $hp9300->sw_duplex() with $hp9300->sw_index()
131
132   Switch Port Information Table ("snSwPortIfTable")
133       $hp9300->sw_index()
134           Returns reference to hash.  Maps Table to Interface IID.
135
136           ("snSwPortIfIndex")
137
138       $hp9300->sw_duplex()
139           Returns reference to hash.   Current duplex status for switch
140           ports.
141
142           ("snSwPortInfoChnMode")
143
144       $hp9300->sw_type()
145           Returns reference to hash.  Current Port Type .
146
147           ("snSwPortInfoMediaType")
148
149       $hp9300->sw_speed()
150           Returns reference to hash.  Current Port Speed.
151
152           ("snSwPortInfoSpeed")
153
154   Table Methods imported from SNMP::Info::Layer3
155       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
156
157   Table Methods imported from SNMP::Info::FDP
158       See documentation in "TABLE METHODS" in SNMP::Info::FDP for details.
159
160   Table Methods imported from SNMP::Info::LLDP
161       See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
162
163
164
165perl v5.28.0                      2018-11-29     SNMP::Info::Layer3::HP9300(3)
Impressum