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
34   Required MIBs
35       ARISTA-PRODUCTS-MIB
36       Inherited Classes' MIBs
37           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
38           requirements.
39
40           See "Required MIBs" in SNMP::Info::Aggregate for its own MIB
41           requirements.
42
43           See "Required MIBs" in SNMP::Info::MAU for its own MIB
44           requirements.
45

GLOBALS

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

TABLE METHODS

71       These are methods that return tables of information in the form of a
72       reference to a hash.
73
74       $arista->i_duplex_admin()
75           Returns info from MAU-MIB
76
77       $arista->i_speed_admin()
78           Returns info from MAU-MIB
79
80       $arista->lldp_if()
81           Returns the mapping to the SNMP Interface Table.
82
83       "agg_ports"
84           Returns a HASH reference mapping from slave to master port for each
85           member of a port bundle on the device. Keys are ifIndex of the
86           slave ports, Values are ifIndex of the corresponding master ports.
87
88   Table Methods imported from SNMP::Info::Layer3
89       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
90
91   Table Methods imported from SNMP::Info::MAU
92       See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
93

SET METHODS

95       These are methods that provide SNMP set functionality for overridden
96       methods or provide a simpler interface to complex set operations.  See
97       "SETTING DATA VIA SNMP" in SNMP::Info for general information on set
98       operations.
99
100       set_i_vlan()
101
102
103
104perl v5.36.1                      2023-07-17     SNMP::Info::Layer3::Arista(3)
Impressum