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 Layer 3
7 routers.
8
10 Rob Woodward
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $OneAccess = 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 = $OneAccess->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Subclass for OneAccess Quidway switches
28
29 Inherited Classes
30 SNMP::Info::Layer3
31
32 Required MIBs
33 Inherited Classes' MIBs
34 See SNMP::Info::Layer3 for its own MIB requirements.
35
37 These are methods that return scalar value from SNMP
38
39 $OneAccess->vendor()
40 Returns 'OneAccess'.
41
42 $OneAccess->os()
43 Returns 'oneos'.
44
45 $OneAccess->os_ver()
46 Returns the software version extracted from "sysDescr".
47
48 $OneAccess->model()
49 Returns the hardware model one300.
50
51 Globals imported from SNMP::Info::Layer3
52 See documentation in SNMP::Info::Layer3 for details.
53
55 These are methods that return tables of information in the form of a
56 reference to a hash.
57
58 Overrides
59 $OneAccess->i_ignore()
60 Returns reference to hash. Increments value of IID if port is to
61 be ignored.
62
63 Ignores InLoopback and Console interfaces
64
65 Table Methods imported from SNMP::Info::Layer3
66 See documentation in SNMP::Info::Layer3 for details.
67
68
69
70perl v5.28.0 2018-11-29 SNMP::Info::Layer3::OneAccess(3)