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 Inherited Classes' MIBs
33 See SNMP::Info::Layer3 for its own MIB requirements.
34
36 These are methods that return scalar value from SNMP
37
38 $pa->vendor()
39 Returns 'Palo Alto Networks'.
40
41 $pa->os()
42 Returns 'PANOS'.
43
44 $pa->model()
45 Returns the value of "panChassisType.0".
46
47 $pa->os_ver()
48 Returns the value of "panSysSwVersion.0".
49
50 $pa->serial()
51 Returns the value of "panSysSerialNumber.0".
52
53 Globals imported from SNMP::Info::Layer3
54 See documentation in SNMP::Info::Layer3 for details.
55
57 These are methods that return tables of information in the form of a
58 reference to a hash.
59
60 Overrides
61 $pa->layers()
62 Returns 01001110. Palo Alto doesn't report layers, modified to
63 reflect Layer 2,3,4,7 functionality.
64
65 Table Methods imported from SNMP::Info::Layer3
66 See documentation in SNMP::Info::Layer3 for details.
67
68
69
70perl v5.28.0 2018-11-29 SNMP::Info::Layer3::PaloAlto(3)