1SNMP::Info::Layer3::HP9U3s0e0r(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer3::HP9300(3)
2
3
4
6 SNMP::Info::Layer3::HP9300 - SNMP Interface to HP Foundry OEM Network
7 Devices
8
10 Eric Miller
11
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 => 2
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
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 Inherited Classes
33 SNMP::Info::Layer3;
34 SNMP::Info::FDP;
35
36 Required MIBs
37 HP-SN-ROOT-MIB
38 HP-SN-AGENT-MIB
39 HP-SN-SWITCH-GROUP-MIB
40 Inherited Classes' MIBs
41 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
42 requirements.
43
44 See "Required MIBs" in SNMP::Info::FDP for its own MIB
45 requirements.
46
48 These are methods that return scalar value from SNMP
49
50 $hp9300->model()
51 Returns model type. Checks $hp9300->id() against the HP-SN-ROOT-
52 MIB and removes "hpSwitch".
53
54 $hp9300->vendor()
55 Returns 'hp'
56
57 $hp9300->os()
58 Returns 'hp'
59
60 $hp9300->os_ver()
61 Returns the software version.
62
63 $hp9300->mac()
64 Returns MAC Address of root port.
65
66 ("ifPhysAddress.1")
67
68 $hp9300->chassis()
69 Returns Chassis type.
70
71 ("entPhysicalDescr.1")
72
73 $hp9300->serial()
74 Returns serial number of device.
75
76 $hp9300->temp()
77 Returns the chassis temperature
78
79 ("snChasActualTemperature")
80
81 $hp9300->ps1_type()
82 Returns the Description for the power supply
83
84 ("snChasPwrSupplyDescription.1")
85
86 $hp9300->ps1_status()
87 Returns the status of the power supply.
88
89 ("snChasPwrSupplyOperStatus.1")
90
91 $hp9300->fan()
92 Returns the status of the chassis fan.
93
94 ("snChasFanOperStatus.1")
95
96 Global Methods imported from SNMP::Info::Layer3
97 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
98
99 Global Methods imported from SNMP::Info::FDP
100 See documentation in "GLOBALS" in SNMP::Info::FDP for details.
101
103 These are methods that return tables of information in the form of a
104 reference to a hash.
105
106 Overrides
107 $hp9300->interfaces()
108 Returns reference to hash of interface names to iids.
109
110 $hp9300->i_ignore()
111 Returns reference to hash of interfaces to be ignored.
112
113 Ignores interfaces with descriptions of tunnel,loopback,null
114
115 $hp9300->i_duplex()
116 Returns reference to hash of interface link duplex status.
117
118 Crosses $hp9300->sw_duplex() with $hp9300->sw_index()
119
120 Switch Port Information Table ("snSwPortIfTable")
121 $hp9300->sw_index()
122 Returns reference to hash. Maps Table to Interface IID.
123
124 ("snSwPortIfIndex")
125
126 $hp9300->sw_duplex()
127 Returns reference to hash. Current duplex status for switch
128 ports.
129
130 ("snSwPortInfoChnMode")
131
132 $hp9300->sw_type()
133 Returns reference to hash. Current Port Type .
134
135 ("snSwPortInfoMediaType")
136
137 $hp9300->sw_speed()
138 Returns reference to hash. Current Port Speed.
139
140 ("snSwPortInfoSpeed")
141
142 Table Methods imported from SNMP::Info::Layer3
143 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
144
145 Table Methods imported from SNMP::Info::FDP
146 See documentation in "TABLE METHODS" in SNMP::Info::FDP for details.
147
148
149
150perl v5.30.1 2020-01-30 SNMP::Info::Layer3::HP9300(3)