1SNMP::Info::Layer3::OneUAscecresCso(n3t)ributed Perl DocSuNmMePn:t:aItnifoon::Layer3::OneAccess(3)
2
3
4

NAME

6       SNMP::Info::Layer3::OneAccess - SNMP Interface to OneAccess routers.
7

AUTHORS

9       Rob Woodward
10

SYNOPSIS

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

DESCRIPTION

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

GLOBALS

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

TABLE ENTRIES

62       These are methods that return tables of information in the form of a
63       reference to a hash.
64
65   Overrides
66       $oneos->i_ignore()
67           Returns reference to hash.  Increments value of IID if port is to
68           be ignored.
69
70           Ignores InLoopback and Console interfaces
71
72   Table Methods imported from SNMP::Info::Layer3
73       See documentation in SNMP::Info::Layer3 for details.
74
75
76
77perl v5.32.0                      2020-07-28  SNMP::Info::Layer3::OneAccess(3)
Impressum