1SNMP::Info::Layer3::H3CU(s3e)r Contributed Perl DocumentaStNiMoPn::Info::Layer3::H3C(3)
2
3
4

NAME

6       SNMP::Info::Layer3::H3C - SNMP Interface to L3 Devices, H3C & HP
7       A-series
8

AUTHORS

10       Jeroen van Ingen
11

SYNOPSIS

13        # Let SNMP::Info determine the correct subclass for you.
14        my $h3c = new SNMP::Info(
15                                 AutoSpecify => 1,
16                                 Debug       => 1,
17                                 DestHost    => 'myrouter',
18                                 Community   => 'public',
19                                 Version     => 2
20                               )
21           or die "Can't connect to DestHost.\n";
22
23        my $class      = $h3c->class();
24        print "SNMP::Info determined this device to fall under subclass : $class\n";
25

DESCRIPTION

27       Subclass for H3C & HP A-series devices
28
29   Inherited Classes
30       SNMP::Info::Layer3
31       SNMP::Info::IEEE802dot3ad
32
33   Required MIBs
34       HH3C-LswDEVM-MIB
35       HH3C-LswINF-MIB
36       HH3C-LSW-DEV-ADM-MIB
37       HH3C-PRODUCT-ID-MIB
38       HH3C-ENTITY-VENDORTYPE-OID-MIB
39       Inherited Classes' MIBs
40           See SNMP::Info::IEEE802dot3ad for its own MIB requirements.
41
42           See SNMP::Info::Layer3 for its own MIB requirements.
43

GLOBALS

45       These are methods that return scalar value from SNMP
46
47       $h3c->model()
48           Returns the model from "sysObjectID" or "entPhysicalClass".
49
50       $h3c->vendor()
51           Returns value for "entPhysicalMfgName.1".
52
53       $h3c->os()
54           Returns the OS extracted from "sysDescr".
55
56       $h3c->os_ver()
57           Returns the software version. Either "entPhysicalSoftwareRev.2" or
58           extracted from "sysDescr".
59
60       $h3c->qb_fdb_index()
61           overwritten to always return empty hash as implementation on h3c is
62           broken.
63
64   Globals imported from SNMP::Info::Layer3
65       See documentation in SNMP::Info::Layer3 for details.
66
67   Globals imported from SNMP::Info::IEEE802dot3ad
68       See documentation in SNMP::Info::IEEE802dot3ad for details.
69

TABLE ENTRIES

71       These are methods that return tables of information in the form of a
72       reference to a hash.
73
74   Overrides
75       $h3c->i_ignore()
76           Returns reference to hash.  Increments value of IID if port is to
77           be ignored.
78
79           Ignores loopback
80
81       "agg_ports"
82           Returns a HASH reference mapping from slave to master port for each
83           member of a port bundle on the device. Keys are ifIndex of the
84           slave ports, Values are ifIndex of the corresponding master ports.
85
86   Table Methods imported from SNMP::Info::Layer3
87       See documentation in SNMP::Info::Layer3 for details.
88
89   Table Methods imported from SNMP::Info::IEEE802dot3ad
90       See documentation in SNMP::Info::IEEE802dot3ad for details.
91
92
93
94perl v5.36.0                      2022-07-22        SNMP::Info::Layer3::H3C(3)
Impressum