1SNMP::Info::Layer2::HPVUCs(e3r)Contributed Perl DocumentSaNtMiPo:n:Info::Layer2::HPVC(3)
2
3
4

NAME

6       SNMP::Info::Layer2::HPVC - SNMP Interface to HP Virtual Connect
7       Switches
8

AUTHOR

10       Jeroen van Ingen
11

SYNOPSIS

13        # Let SNMP::Info determine the correct subclass for you.
14        my $hp = 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      = $hp->class();
24        print "SNMP::Info determined this device to fall under subclass : $class\n";
25

DESCRIPTION

27       Provides abstraction to the configuration information obtainable from a
28       HP Virtual Connect Switch via SNMP.
29
30   Inherited Classes
31       SNMP::Info::Layer2
32
33   Required MIBs
34       HPVC-MIB
35       CPQSINFO-MIB
36       HPVCMODULE-MIB
37
38       All required MIBs can be found in the netdisco-mibs package.
39

GLOBALS

41       These are methods that return scalar value from SNMP
42
43       $hp->os()
44           Returns 'hpvc'
45
46       $hp->os_bin()
47           "cpqHoFwVerVersion.1"
48
49       $hp->os_ver()
50           "cpqHoSWRunningVersion.1"
51
52       $hp->serial()
53           "cpqSiSysSerialNum.0"
54
55       $hp->vendor()
56           hp
57
58       $hp->model()
59           "cpqSiProductName.0"
60
61   Globals imported from SNMP::Info::Layer2
62       See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
63

TABLE METHODS

65       These are methods that return tables of information in the form of a
66       reference to a hash.
67
68   Table Methods imported from SNMP::Info::Layer2
69       See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
70

SET METHODS

72       These are methods that provide SNMP set functionality for overridden
73       methods or provide a simpler interface to complex set operations.  See
74       "SETTING DATA VIA SNMP" in SNMP::Info for general information on set
75       operations.
76
77
78
79perl v5.36.0                      2022-07-22       SNMP::Info::Layer2::HPVC(3)
Impressum