1SNMP::Info::Layer2::ZyXUEsLe_rDSCLoAnMt(r3i)buted Perl DSoNcMuPm:e:nItnaftoi:o:nLayer2::ZyXEL_DSLAM(3)
2
3
4
6 SNMP::Info::Layer2::ZyXEL_DSLAM - SNMP Interface to ZyXEL DSLAM
7
9 Dmitry Sergienko ("dmitry@trifle.net")
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $zyxel = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 DestHost => 'myhub',
17 Community => 'public',
18 Version => 2
19 )
20 or die "Can't connect to DestHost.\n";
21
22 my $class = $zyxel->class();
23 print "SNMP::Info determined this device to fall under subclass : $class\n";
24
26 Provides abstraction to the configuration information obtainable from a
27 ZyXEL device through SNMP. See inherited classes' documentation for
28 inherited methods.
29
30 Inherited Classes
31 SNMP::Info::Layer2
32
33 Required MIBs
34 ADSL-LINE-MIB
35 Inherited Classes
36 MIBs listed in "Required MIBs" in SNMP::Info::Layer2 and their
37 inherited classes.
38
40 These are methods that return scalar value from SNMP
41
42 Overrides
43 $zyxel->vendor()
44 Returns 'zyxel'
45
46 $zyxel->os()
47 Returns 'zyxel'
48
49 $zyxel->os_ver()
50 Culls Version from description()
51
52 $zyxel->ip()
53 Returns IP Address of DSLAM.
54
55 ("ipAdEntAddr")
56
57 $zyxel->model()
58 Tries to cull out model out of the description field.
59
60 $zyxel->layers()
61 Returns 00000011.
62
63 Global Methods imported from SNMP::Info::Layer2
64 See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
65
67 Overrides
68 $zyxel->i_name()
69 Returns reference to map of IIDs to port name ("ifDescr").
70
71 $zyxel->i_description()
72 Returns reference to map of IIDs to human-set port description
73 (profile name).
74
75 Table Methods imported from SNMP::Info::Layer2
76 See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
77
78
79
80perl v5.32.1 2021-01-27SNMP::Info::Layer2::ZyXEL_DSLAM(3)