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::IEEE802dot3ad for its own MIB requirements.
40
42 These are methods that return scalar value from SNMP
43
44 $cumulus->vendor()
45 Returns 'cumulus networks'.
46
47 $cumulus->os()
48 Returns 'cumulus'.
49
50 $cumulus->os_ver()
51 Returns the software version extracted from "sysDescr".
52
53 $cumulus->uptime()
54 Returns the system uptime instead of the agent uptime. NOTE:
55 discontinuity timers and other Time Stamp based objects are based
56 on agent uptime, so use orig_uptime().
57
58 $l3->model()
59 Returns the chassis type.
60
61 Globals imported from SNMP::Info::Layer3
62 See documentation in SNMP::Info::Layer3 for details.
63
64 Globals imported from SNMP::Info::IEEE802dot3ad
65 See documentation in SNMP::Info::IEEE802dot3ad for details.
66
68 These are methods that return tables of information in the form of a
69 reference to a hash.
70
71 Overrides
72 $cumulus->interfaces()
73 Uses the i_name() field.
74
75 $cumulus->i_ignore()
76 Ignores interfaces with an "@" in them.
77
78 "agg_ports"
79 Returns a HASH reference mapping from slave to master port for each
80 member of a port bundle on the device. Keys are ifIndex of the
81 slave ports, Values are ifIndex of the corresponding master ports.
82
83 Table Methods imported from SNMP::Info::Layer3
84 See documentation in SNMP::Info::Layer3 for details.
85
86 Table Methods imported from SNMP::Info::IEEE802dot3ad
87 See documentation in SNMP::Info::IEEE802dot3ad for details.
88
89
90
91perl v5.30.1 2020-01-30 SNMP::Info::Layer3::Cumulus(3)