AUTHORS
Max KosmachSYNOPSIS
# Let SNMP::Info determine the correct subclass for you.
my $pa = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myrouter',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $pa->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
DESCRIPTION
Subclass for Palo Alto devicesInherited Classes
- SNMP::Info::Layer3
Required MIBs
- Inherited Classes' MIBs
- See SNMP::Info::Layer3 for its own MIB requirements.
GLOBALS
These are methods that return scalar value from SNMP- $pa->vendor()
- Returns 'Palo Alto Networks'.
- $pa->os()
- Returns 'PANOS'.
- $pa->model()
- Returns the value of "panChassisType.0".
- $pa->os_ver()
- Returns the value of "panSysSwVersion.0".
- $pa->serial()
- Returns the value of "panSysSerialNumber.0".
Globals imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details.TABLE ENTRIES
These are methods that return tables of information in the form of a reference to a hash.Overrides
- $pa->layers()
- Returns 01001110. Palo Alto doesn't report layers, modified to reflect Layer 2,3,4,7 functionality.
Table Methods imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details.