1SNMP::Info::Layer3::CumUusleurs(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer3::Cumulus(3)
2
3
4
6 SNMP::Info::Layer3::Cumulus - SNMP Interface to Cumulus Networks
7 Devices
8
10 Oliver Gorwits - based on Layer3::NetSNMP implementation
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $cumulus = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myrouter',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $cumulus->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Subclass for Cumulus Networks devices
28
29 Inherited Classes
30 SNMP::Info::Layer3
31
32 Required MIBs
33 UCD-SNMP-MIB
34 NET-SNMP-TC
35 HOST-RESOURCES-MIB
36 Inherited Classes' MIBs
37 See SNMP::Info::Layer3 for its own MIB requirements.
38
39 See SNMP::Info::LLDP for its own MIB requirements.
40
41 See SNMP::Info::IEEE802dot3ad for its own MIB requirements.
42
44 These are methods that return scalar value from SNMP
45
46 $cumulus->vendor()
47 Returns 'Cumulus Networks'.
48
49 $cumulus->os()
50 Returns 'cumulus'.
51
52 $cumulus->os_ver()
53 Returns the software version extracted from "sysDescr".
54
55 $cumulus->uptime()
56 Returns the system uptime instead of the agent uptime. NOTE:
57 discontinuity timers and other Time Stamp based objects are based
58 on agent uptime, so use orig_uptime().
59
60 $l3->model()
61 Returns the chassis type.
62
63 Globals imported from SNMP::Info::Layer3
64 See documentation in SNMP::Info::Layer3 for details.
65
66 Globals imported from SNMP::Info::LLDP
67 See documentation in SNMP::Info::LLDP for details.
68
69 Globals imported from SNMP::Info::IEEE802dot3ad
70 See documentation in SNMP::Info::IEEE802dot3ad for details.
71
73 These are methods that return tables of information in the form of a
74 reference to a hash.
75
76 Overrides
77 $cumulus->interfaces()
78 Uses the i_name() field.
79
80 $cumulus->i_ignore()
81 Ignores interfaces with an "@" in them.
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 SNMP::Info::Layer3 for details.
90
91 Table Methods imported from SNMP::Info::LLDP
92 See documentation in SNMP::Info::LLDP for details.
93
94 Table Methods imported from SNMP::Info::IEEE802dot3ad
95 See documentation in SNMP::Info::IEEE802dot3ad for details.
96
97
98
99perl v5.28.1 2019-04-04 SNMP::Info::Layer3::Cumulus(3)