1SNMP::Info::Layer3::ForUtsienretC(o3n)tributed Perl DocuSmNeMnPt:a:tIinofno::Layer3::Fortinet(3)
2
3
4
6 SNMP::Info::Layer3::Fortinet - SNMP Interface to Fortinet network
7 devices.
8
10 Eric Miller
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $fortinet = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $fortinet->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Abstraction subclass for Fortinet network devices.
28
29 Inherited Classes
30 SNMP::Info::Layer3
31
32 Required MIBs
33 FORTINET-CORE-MIB
34 FORTINET-FORTIGATE-MIB
35 Inherited Classes' MIBs
36 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
37 requirements.
38
40 These are methods that return scalar value from SNMP
41
42 $fortinet->vendor()
43 Returns 'fortinet'
44
45 $fortinet->model()
46 Returns the chassis model.
47
48 $fortinet->os()
49 Returns 'fortios'
50
51 $fortinet->os_ver()
52 Returns the software version extracted from ("systemVersion").
53
54 $fortinet->serial()
55 Returns the chassis serial number.
56
57 ("fnSysSerial")
58
59 Globals imported from SNMP::Info::Layer3
60 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
61
63 These are methods that return tables of information in the form of a
64 reference to a hash.
65
66 $fortinet->interfaces();
67 Returns the map between SNMP Interface Identifier (iid) and
68 "ifName".
69
70 Table Methods imported from SNMP::Info::Layer3
71 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
72
73
74
75perl v5.34.0 2022-01-21 SNMP::Info::Layer3::Fortinet(3)