1Info::Layer3::HP9300(3)User Contributed Perl DocumentatioInnfo::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   Topology information
155       Based upon the software version devices may support Foundry Discovery
156       Protocol (FDP) and Link Layer Discovery Protocol (LLDP). These methods
157       will query both and return the combination of all information. As a
158       result, there may be identical topology information returned from the
159       two protocols causing duplicate entries.  It is the calling program's
160       responsibility to identify any duplicate entries and remove duplicates
161       if necessary.
162
163       $hp9300->hasCDP()
164           Returns true if the device is running either FDP or LLDP.
165
166       $hp9300->c_if()
167           Returns reference to hash.  Key: iid Value: local device port
168           (interfaces)
169
170       $hp9300->c_ip()
171           Returns reference to hash.  Key: iid Value: remote IPv4 address
172
173           If multiple entries exist with the same local port, c_if(), with
174           the same IPv4 address, c_ip(), it may be a duplicate entry.
175
176           If multiple entries exist with the same local port, c_if(), with
177           different IPv4 addresses, c_ip(), there is either a non-FDP/LLDP
178           device in between two or more devices or multiple devices which are
179           not directly connected.
180
181           Use the data from the Layer2 Topology Table below to dig deeper.
182
183       $hp9300->c_port()
184           Returns reference to hash. Key: iid Value: remote port (interfaces)
185
186       $hp9300->c_id()
187           Returns reference to hash. Key: iid Value: string value used to
188           identify the chassis component associated with the remote system.
189
190       $hp9300->c_platform()
191           Returns reference to hash.  Key: iid Value: Remote Device Type
192
193   Table Methods imported from SNMP::Info::Layer3
194       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
195
196   Table Methods imported from SNMP::Info::FDP
197       See documentation in "TABLE METHODS" in SNMP::Info::FDP for details.
198
199   Table Methods imported from SNMP::Info::LLDP
200       See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
201
202
203
204perl v5.12.0                      2009-06-12           Info::Layer3::HP9300(3)
Impressum