SNMP::Info::CiscoPortSecurity.3pm

Langue: en

Version: 2007-11-25 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

SNMP::Info::CiscoPortSecurity - SNMP Interface to data from CISCO-PORT-SECURITY-MIB

AUTHOR

Eric Miller

SYNOPSIS

  # Let SNMP::Info determine the correct subclass for you. 
  my $cps = new SNMP::Info(
                           AutoSpecify => 1,
                           Debug       => 1,
                           # These arguments are passed directly on to SNMP::Session
                           DestHost    => 'myswitch',
                           Community   => 'public',
                           Version     => 2
                         ) 
     or die "Can't connect to DestHost.\n";
 
 
  my $class      = $cps->class();
  print "SNMP::Info determined this device to fall under subclass : $class\n";
 
 

DESCRIPTION

SNMP::Info::CiscoPortSecurity is a subclass of SNMP::Info that provides an interface to the "CISCO-PORT-SECURITY-MIB". This MIB is used across the Catalyst family under CatOS and IOS.

Use or create in a subclass of SNMP::Info. Do not use directly.

Inherited Classes

None.

Required MIBs

CISCO-PORT-SECURITY-MIB

MIBs can be found at ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz or from Netdisco-mib package at netdisco.org.

GLOBALS

These are methods that return scalar values from SNMP

CISCO-PORT-SECURITY-MIB globals

$stack->cps_clear()
(cpsGlobalClearSecureMacAddresses)
$stack->cps_notify()
(cpsGlobalSNMPNotifControl)
$stack->cps_rate()
(cpsGlobalSNMPNotifRate)
$stack->cps_enable()
(cpsGlobalPortSecurityEnable)
$stack->cps_mac_count()
(cpsGlobalTotalSecureAddress)
$stack->cps_mac_max()
(cpsGlobalMaxSecureAddress)

TABLE METHODS


CISCO-PORT-SECURITY-MIB - Interface Config Table

$stack->cps_i_limit_val()
(cpsIfInvalidSrcRateLimitValue)
$stack->cps_i_limit()
(cpsIfInvalidSrcRateLimitEnable)
$stack->cps_i_sticky()
(cpsIfStickyEnable)
$stack->cps_i_clear_type()
(cpsIfClearSecureMacAddresses)
$stack->cps_i_shutdown()
(cpsIfShutdownTimeout)
$stack->cps_i_flood()
(cpsIfUnicastFloodingEnable)
$stack->cps_i_clear()
(cpsIfClearSecureAddresses)
$stack->cps_i_mac()
(cpsIfSecureLastMacAddress)
$stack->cps_i_count()
(cpsIfViolationCount)
$stack->cps_i_action()
(cpsIfViolationAction)
$stack->cps_i_mac_static()
(cpsIfStaticMacAddrAgingEnable)
$stack->cps_i_mac_type()
(cpsIfSecureMacAddrAgingType)
$stack->cps_i_mac_age()
(cpsIfSecureMacAddrAgingTime)
$stack->cps_i_mac_count()
(cpsIfCurrentSecureMacAddrCount)
$stack->cps_i_mac_max()
(cpsIfMaxSecureMacAddr)
$stack->cps_i_status()
(cpsIfPortSecurityStatus)
$stack->cps_i_enable()
(cpsIfPortSecurityEnable)

CISCO-PORT-SECURITY-MIB::cpsIfVlanTable

$stack->cps_i_v_mac_count()
(cpsIfVlanCurSecureMacAddrCount)
$stack->cps_i_v_mac_max()
(cpsIfVlanMaxSecureMacAddr)
$stack->cps_i_v()
(cpsIfVlanIndex)

CISCO-PORT-SECURITY-MIB::cpsIfVlanSecureMacAddrTable

$stack->cps_i_v_mac_status()
(cpsIfVlanSecureMacAddrRowStatus)
$stack->cps_i_v_mac_age()
(cpsIfVlanSecureMacAddrRemainAge)
$stack->cps_i_v_mac_type()
(cpsIfVlanSecureMacAddrType)
$stack->cps_i_v_vlan()
(cpsIfVlanSecureVlanIndex)
$stack->cps_i_v_mac()
(cpsIfVlanSecureMacAddress)

CISCO-PORT-SECURITY-MIB::cpsSecureMacAddressTable

$stack->cps_m_status()
(cpsSecureMacAddrRowStatus)
$stack->cps_m_age()
(cpsSecureMacAddrRemainingAge)
$stack->cps_m_type()
(cpsSecureMacAddrType)
$stack->cps_m_mac()
(cpsSecureMacAddress)