1SNMP::Info::Layer3::SunU(s3e)r Contributed Perl DocumentaStNiMoPn::Info::Layer3::Sun(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Sun - SNMP Interface to L3 Sun Solaris
7

AUTHOR

9       begemot
10

SYNOPSIS

12        # Let SNMP::Info determine the correct subclass for you.
13        my $sun = new SNMP::Info(
14                                 AutoSpecify => 1,
15                                 Debug       => 1,
16                                 DestHost    => 'mysunrouter',
17                                 Community   => 'public',
18                                 Version     => 1
19                               )
20           or die "Can't connect to DestHost.\n";
21
22        my $class      = $sun->class();
23        print "SNMP::Info determined this device to fall under subclass : $class\n";
24

DESCRIPTION

26       Subclass for Generic Sun Routers running SunOS
27
28   Inherited Classes
29       SNMP::Info::Layer3
30
31   Required MIBs
32       Inherited Classes' MIBs
33           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
34           requirements.
35

GLOBALS

37       These are methods that return scalar value from SNMP
38
39       $sun->vendor()
40           Returns 'sun'
41
42       $sun->os()
43           Returns 'sun'
44
45       $sun->os_ver()
46           Returns the software version extracted from message of the day.
47
48       $sun->model()
49           Returns 'Solaris Router'
50
51       $sun->serial()
52           Returns serial number
53
54   Globals imported from SNMP::Info::Layer3
55       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
56

TABLE METHODS

58       These are methods that return tables of information in the form of a
59       reference to a hash.
60
61   Overrides
62       $sun->i_ignore()
63           Returns reference to hash.  Increments value of IID if port is to
64           be ignored.
65
66           Ignores loopback
67
68   Table Methods imported from SNMP::Info::Layer3
69       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
70
71
72
73perl v5.32.0                      2020-07-28        SNMP::Info::Layer3::Sun(3)
Impressum