1SNMP::Info::Layer3::RedUlsieorn(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer3::Redlion(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Redlion - SNMP Interface to redlion routers
7

AUTHORS

9       nick nauwelaerts
10

SYNOPSIS

12           # Let SNMP::Info determine the correct subclass for you.
13           my $redlion = 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      = $redlion->class();
23           print "SNMP::Info determined this device to fall under subclass : $class\n";
24

DESCRIPTION

26       Subclass for redlion routers.
27
28   Inherited Classes
29       SNMP::Info::Layer3
30
31   Required MIBs
32       RED-LION-RAM-MIB
33
34   Inherited MIBs
35       See "Required MIBs" in SNMP::Info::Layer3 for its MIB requirements.
36

GLOBALS

38       These are methods that return scalar value from SNMP.
39
40       $redlion->layers()
41           Returns '00000110' since sysServices returns undef.
42
43       $redlion->model()
44           Returns the model extracted from "unitDescription".
45
46       $redlion->os()
47           Returns 'sn'.
48
49       $redlion->os_ver()
50           Returns the os version extracted from "unitFirmwareVersion".
51
52       $redlion->serial()
53           Returns the serial extracted from "unitSerialNumber". Must be
54           enabled in the snmp setup of the device to show this.
55
56       $redlion->vendor()
57           Returns 'redlion'.
58
59   Global Methods imported from SNMP::Info::Layer3
60       See "GLOBALS" in SNMP::Info::Layer3 for details.
61

TABLE ENTRIES

63       These are methods that return tables of information in the form of a
64       reference to a hash.
65
66   Table Methods imported from SNMP::Info::Layer3
67       See "TABLE METHODS" in SNMP::Info::Layer3 for details.
68
69
70
71perl v5.30.0                      2019-10-30    SNMP::Info::Layer3::Redlion(3)
Impressum