Oliver Gorwits > SNMP-Info-3.13 > SNMP::Info::Layer3::HP9300

Download:
SNMP-Info-3.13.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 3.13   Source   Latest Release: SNMP-Info-3.21_001

NAME ^

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

AUTHOR ^

Eric Miller

SYNOPSIS ^

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

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

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

DESCRIPTION ^

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

For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.

 my $hp9300 = new SNMP::Info::Layer3::HP9300(...);

Inherited Classes

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

Required MIBs

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.

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

GLOBALS ^

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)

Global Methods imported from SNMP::Info::Layer3

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

Global Methods imported from SNMP::Info::FDP

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

Global Methods imported from SNMP::Info::LLDP

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

TABLE METHODS ^

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

Overrides

$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()

Switch Port Information Table (snSwPortIfTable)

$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)

Table Methods imported from SNMP::Info::Layer3

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

Table Methods imported from SNMP::Info::FDP

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

Table Methods imported from SNMP::Info::LLDP

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

syntax highlighting: