1SNMP::Info::Layer3::H3CU(s3e)r Contributed Perl DocumentaStNiMoPn::Info::Layer3::H3C(3)
2
3
4
6 SNMP::Info::Layer3::H3C - SNMP Interface to L3 Devices, H3C & HP
7 A-series
8
10 Jeroen van Ingen
11
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
27 Subclass for H3C & HP A-series devices
28
29 Inherited Classes
30 SNMP::Info::Layer3
31 SNMP::Info::LLDP
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::Layer3 for its own MIB requirements.
41
42 See SNMP::Info::LLDP for its own MIB requirements.
43
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 Globals imported from SNMP::Info::Layer3
61 See documentation in SNMP::Info::Layer3 for details.
62
63 Globals imported from SNMP::Info::LLDP
64 See documentation in SNMP::Info::LLDP for details.
65
67 These are methods that return tables of information in the form of a
68 reference to a hash.
69
70 Overrides
71 $h3c->i_ignore()
72 Returns reference to hash. Increments value of IID if port is to
73 be ignored.
74
75 Ignores loopback
76
77 "agg_ports"
78 Returns a HASH reference mapping from slave to master port for each
79 member of a port bundle on the device. Keys are ifIndex of the
80 slave ports, Values are ifIndex of the corresponding master ports.
81
82 Table Methods imported from SNMP::Info::Layer3
83 See documentation in SNMP::Info::Layer3 for details.
84
85 Table Methods imported from SNMP::Info::LLDP
86 See documentation in SNMP::Info::LLDP for details.
87
88 Table Methods imported from SNMP::Info::IEEE802dot3ad
89 See documentation in SNMP::Info::IEEE802dot3ad for details.
90
91
92
93perl v5.28.0 2018-11-29 SNMP::Info::Layer3::H3C(3)