1SNMP::Info::Layer3::PalUosAelrtoC(o3n)tributed Perl DocuSmNeMnPt:a:tIinofno::Layer3::PaloAlto(3)
2
3
4
6 SNMP::Info::Layer3::PaloAlto - SNMP Interface to Palo Alto devices
7
9 Max Kosmach
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $pa = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 DestHost => 'myrouter',
17 Community => 'public',
18 Version => 2
19 )
20 or die "Can't connect to DestHost.\n";
21
22 my $class = $pa->class();
23 print "SNMP::Info determined this device to fall under subclass : $class\n";
24
26 Subclass for Palo Alto devices
27
28 Inherited Classes
29 SNMP::Info::Layer3
30
31 Required MIBs
32 PAN-COMMON-MIB
33 PAN-PRODUCTS-MIB
34 Inherited Classes' MIBs
35 See SNMP::Info::Layer3 for its own MIB requirements.
36
38 These are methods that return scalar value from SNMP
39
40 $pa->vendor()
41 Returns 'palo alto networks'.
42
43 $pa->os()
44 Returns 'PAN-OS'.
45
46 $pa->model()
47 Returns the value of "panChassisType.0".
48
49 $pa->os_ver()
50 Returns the value of "panSysSwVersion.0".
51
52 $pa->serial()
53 Returns the value of "panSysSerialNumber.0".
54
55 Overrides
56 $pa->layers()
57 Returns 01001100. Palo Alto doesn't report layers, modified to
58 reflect Layer 3,4,7 functionality.
59
60 Globals imported from SNMP::Info::Layer3
61 See documentation in SNMP::Info::Layer3 for details.
62
64 These are methods that return tables of information in the form of a
65 reference to a hash.
66
67 Table Methods imported from SNMP::Info::Layer3
68 See documentation in SNMP::Info::Layer3 for details.
69
70
71
72perl v5.34.0 2021-09-13 SNMP::Info::Layer3::PaloAlto(3)