SNMP::Info::Layer7::CiscoIPS - Cisco Adaptive Security Appliance IPS module
# Let SNMP::Info determine the correct subclass for you.
my $info = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly to SNMP::Session
DestHost => 'myIPS',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $info->class();
print "SNMP::Info determined this device to fall under subclass: $class\n";
Subclass for Cisco IPS Module
- SNMP::Info::Entity
- SNMP::Info::Layer7
- Inherited Classes' MIBs
- See classes listed above for their required MIBs.
These are methods that return scalar value from SNMP
- $info->b_mac()
- Returns base mac. Matches only on e4:d3:f1
- $info->serial()
- Fetches serial from Module
- $info->e_index()
- overrides Entity->e_index() since entity table the IPS
delivering is buggy.
- $info->layers
- Returns '01001000'
- $info->model
- Returns model name
- $info->productname
- Returns the product name
- $info->serial
- Returns the serial number
- $info->sysdescr
- Returns the system description
See documentation in "GLOBALS" in SNMP::Info::Layer7 for details.
See documentation in "GLOBALS" in SNMP::Info::Entity for details.
These are methods that return tables of information in the form of a reference
to a hash.
See documentation in "TABLE METHODS" in SNMP::Info::Layer7 for
details.
See documentation in "TABLE METHODS" in SNMP::Info::Entity for
details.