GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SNMP::Info::Layer3::HP9300(3) User Contributed Perl Documentation SNMP::Info::Layer3::HP9300(3)

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

Eric Miller

 # Let SNMP::Info determine the correct subclass for you.
 my $hp9300 = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          DestHost    => 'myswitch',
                          Community   => 'public',
                          Version     => 2
                        )
    or die "Can't connect to DestHost.\n";

 my $class = $hp9300->class();

 print "SNMP::Info determined this device to fall under subclass : $class\n";

Abstraction subclass for HP network devices which Foundry Networks was the Original Equipment Manufacturer (OEM) such as the HP ProCurve 9300 series.

SNMP::Info::Layer3;
SNMP::Info::FDP;

HP-SN-ROOT-MIB
HP-SN-AGENT-MIB
HP-SN-SWITCH-GROUP-MIB
Inherited Classes' MIBs
See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.

See "Required MIBs" in SNMP::Info::FDP for its own MIB requirements.

These are methods that return scalar value from SNMP
$hp9300->model()
Returns model type. Checks $hp9300->id() against the HP-SN-ROOT-MIB and removes "hpSwitch".
$hp9300->vendor()
Returns 'hp'
$hp9300->os()
Returns 'hp'
$hp9300->os_ver()
Returns the software version.
$hp9300->mac()
Returns MAC Address of root port.

("ifPhysAddress.1")

$hp9300->chassis()
Returns Chassis type.

("entPhysicalDescr.1")

$hp9300->serial()
Returns serial number of device.
$hp9300->temp()
Returns the chassis temperature

("snChasActualTemperature")

$hp9300->ps1_type()
Returns the Description for the power supply

("snChasPwrSupplyDescription.1")

$hp9300->ps1_status()
Returns the status of the power supply.

("snChasPwrSupplyOperStatus.1")

$hp9300->fan()
Returns the status of the chassis fan.

("snChasFanOperStatus.1")

See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.

See documentation in "GLOBALS" in SNMP::Info::FDP for details.

These are methods that return tables of information in the form of a reference to a hash.

$hp9300->interfaces()
Returns reference to hash of interface names to iids.
$hp9300->i_ignore()
Returns reference to hash of interfaces to be ignored.

Ignores interfaces with descriptions of tunnel,loopback,null

$hp9300->i_duplex()
Returns reference to hash of interface link duplex status.

Crosses $hp9300->sw_duplex() with $hp9300->sw_index()

$hp9300->sw_index()
Returns reference to hash. Maps Table to Interface IID.

("snSwPortIfIndex")

$hp9300->sw_duplex()
Returns reference to hash. Current duplex status for switch ports.

("snSwPortInfoChnMode")

$hp9300->sw_type()
Returns reference to hash. Current Port Type .

("snSwPortInfoMediaType")

$hp9300->sw_speed()
Returns reference to hash. Current Port Speed.

("snSwPortInfoSpeed")

See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.

See documentation in "TABLE METHODS" in SNMP::Info::FDP for details.
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.