1SNMP::Info::Layer3::OneUAscecresCso(n3t)ributed Perl DocSuNmMePn:t:aItnifoon::Layer3::OneAccess(3)
2
3
4
6 SNMP::Info::Layer3::OneAccess - SNMP Interface to OneAccess routers.
7
9 Rob Woodward
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $oneos = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 DestHost => 'myrouter',
17 Community => 'public',
18 Version => 2
19 )
20 or die "Can't connect to DestHost.\n";
21
22 my $class = $oneos->class();
23 print "SNMP::Info determined this device to fall under subclass : $class\n";
24
26 Subclass for OneAccess routers.
27
28 Inherited Classes
29 SNMP::Info::Layer3
30
31 Required MIBs
32 ONEACCESS-GLOBAL-REG
33 ONEACCESS-SYS-MIB
34
35 Inherited Classes' MIBs
36 See SNMP::Info::Layer3 for its own MIB requirements.
37
39 These are methods that return scalar value from SNMP.
40
41 $oneos->oa_model()
42 Returns the hardware model from "oacExpIMSysHwcProductName.0".
43
44 $oneos->os_ver()
45 Returns the software version extracted from "sysDescr".
46
47 Overrides
48 $oneos->model()
49 Returns "oa_model()" with a fallback to "e_model()" from
50 SNMP::Info::Entity.
51
52 $oneos->os()
53 Returns 'oneos'.
54
55 $oneos->vendor()
56 Returns 'oneaccess'.
57
58 Globals imported from SNMP::Info::Layer3
59 See documentation in SNMP::Info::Layer3 for details.
60
62 These are methods that return tables of information in the form of a
63 reference to a hash.
64
65 Table Methods imported from SNMP::Info::Layer3
66 See documentation in SNMP::Info::Layer3 for details.
67
68
69
70perl v5.36.0 2022-07-22 SNMP::Info::Layer3::OneAccess(3)