1SNMP::Info::Layer3::AriUsstear(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer3::Arista(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Arista - SNMP Interface to Arista Networks EOS
7

AUTHOR

9       Bill Fenner
10

SYNOPSIS

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

DESCRIPTION

27       Subclass for Arista Networks EOS-based devices
28
29   Inherited Classes
30       SNMP::Info::Aggregate
31       SNMP::Info::Layer3
32       SNMP::Info::MAU
33       SNMP::Info::LLDP
34
35   Required MIBs
36       ARISTA-PRODUCTS-MIB
37       Inherited Classes' MIBs
38           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
39           requirements.
40
41           See "Required MIBs" in SNMP::Info::Aggregate for its own MIB
42           requirements.
43
44           See "Required MIBs" in SNMP::Info::MAU for its own MIB
45           requirements.
46
47           See "Required MIBs" in SNMP::Info::LLDP for its own MIB
48           requirements.
49

GLOBALS

51       These are methods that return scalar values from SNMP
52
53       $arista->vendor()
54               Returns 'Arista Networks, Inc.'
55
56       $arista->model()
57           Tries to reference $arista->id() to one of the product MIBs listed
58           above
59
60           Removes 'arista' from the name for readability.
61
62       $arista->os()
63           Returns 'EOS'
64
65       $arista->os_ver()
66           Grabs the os version from "sysDescr"
67
68   Global Methods imported from SNMP::Info::Layer3
69       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
70
71   Global Methods imported from SNMP::Info::MAU
72       See documentation in "GLOBALS" in SNMP::Info::MAU for details.
73
74   Global Methods imported from SNMP::Info::Layer3
75       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
76

TABLE METHODS

78       These are methods that return tables of information in the form of a
79       reference to a hash.
80
81       $arista->i_duplex_admin()
82           Returns info from MAU-MIB
83
84       $arista->i_speed_admin()
85           Returns info from MAU-MIB
86
87       $arista->lldp_if()
88           Returns the mapping to the SNMP Interface Table.
89
90       "agg_ports"
91           Returns a HASH reference mapping from slave to master port for each
92           member of a port bundle on the device. Keys are ifIndex of the
93           slave ports, Values are ifIndex of the corresponding master ports.
94
95   Table Methods imported from SNMP::Info::Layer3
96       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
97
98   Table Methods imported from SNMP::Info::MAU
99       See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
100
101   Table Methods imported from SNMP::Info::LLDP
102       See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
103
104
105
106perl v5.28.0                      2018-11-29     SNMP::Info::Layer3::Arista(3)
Impressum