1SNMP::Info::Layer3::ForUtsienretC(o3n)tributed Perl DocuSmNeMnPt:a:tIinofno::Layer3::Fortinet(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Fortinet - SNMP Interface to Fortinet network
7       devices.
8

AUTHOR

10       Eric Miller
11

SYNOPSIS

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

DESCRIPTION

27       Abstraction subclass for Fortinet network devices.
28
29   Inherited Classes
30       SNMP::Info::Layer3
31       SNMP::Info::Aggregate
32
33   Required MIBs
34       FORTINET-CORE-MIB
35       FORTINET-FORTIGATE-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

GLOBALS

44       These are methods that return scalar value from SNMP
45
46       $fortinet->vendor()
47           Returns 'fortinet'
48
49       $fortinet->model()
50           Returns the chassis model.
51
52       $fortinet->os()
53           Returns 'fortios'
54
55       $fortinet->os_ver()
56           Returns the software version extracted from ("systemVersion").
57
58       $fortinet->serial()
59           Returns the chassis serial number.
60
61           ("fnSysSerial")
62
63   Globals imported from SNMP::Info::Layer3
64       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
65

TABLE METHODS

67       These are methods that return tables of information in the form of a
68       reference to a hash.
69
70       $fortinet->interfaces();
71           Returns the map between SNMP Interface Identifier (iid) and
72           "ifName".
73
74       "agg_ports"
75           Returns a HASH reference mapping from slave to master port for each
76           member of a port bundle on the device. Keys are ifIndex of the
77           slave ports, Values are ifIndex of the corresponding master ports.
78
79   Table Methods imported from SNMP::Info::Layer3
80       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
81
82
83
84perl v5.36.1                      2023-07-17   SNMP::Info::Layer3::Fortinet(3)
Impressum