logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SNMP::Info::Layer7::CiscoIPS - Cisco Adaptive Security Appliance IPS module

Author

       Moe Kraus

Description

       Subclass for Cisco IPS Module

   InheritedClasses
       SNMP::Info::Entity
       SNMP::Info::Layer7

   RequiredMIBs
       Inherited Classes' MIBs
           See classes listed above for their required MIBs.

Globals

       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

   GlobalMethodsimportedfromSNMP::Info::Layer7
       See documentation in "GLOBALS" in SNMP::Info::Layer7 for details.

   GlobalMethodsimportedfromSNMP::Info::Entity
       See documentation in "GLOBALS" in SNMP::Info::Entity for details.

Name

       SNMP::Info::Layer7::CiscoIPS - Cisco Adaptive Security Appliance IPS module

Synopsis

        # 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";

Table Methods

       These are methods that return tables of information in the form of a reference to a hash.

   TableMethodsimportedfromSNMP::Info::Layer7
       See documentation in "TABLE METHODS" in SNMP::Info::Layer7 for details.

   TableMethodsimportedfromSNMP::Info::Entity
       See documentation in "TABLE METHODS" in SNMP::Info::Entity for details.

perl v5.40.0                                       2024-11-09                  SNMP::Info::Layer7::CiscoIPS(3pm)

See Also