SNMP::Info::CiscoQOS.3pm

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

SNMP::Info::CiscoQOS - SNMP Interface to Cisco's Quality of Service MIBs

AUTHOR

Alexander Hartmaier

SYNOPSIS

  # Let SNMP::Info determine the correct subclass for you. 
  my $qos = 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 = $qos->class();
  print "SNMP::Info determined this device to fall under subclass : $class\n";
 
 

DESCRIPTION

SNMP::Info::CiscoQOS is a subclass of SNMP::Info that provides information about a cisco device's QoS config.

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

Inherited Classes

none.

Required MIBs

CISCO-CLASS-BASED-QOS-MIB

MIBs can be found at ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz

GLOBALS

none

TABLE METHODS


ServicePolicy Table (cbQosServicePolicyTable)

This table describes the interfaces/media types and the policymap that are attached to it.

$qos->qos_i_index()
(cbQosIfIndex)
$qos->qos_i_type()
(cbQosIfType)
$qos->qos_pol_direction()
(cbQosPolicyDirection)

ClassMap Objects Table (cbQosObjectsTable)

$qos->qos_obj_index()
(cbQosConfigIndex)
$qos->qos_obj_type()
(cbQosObjectsType)
$qos->qos_obj_parent()
(cbQosParentObjectsIndex)

ClassMap Configuration Table (cbQosCMCfgTable)

$qos->qos_cm_name()
(cbQosCMName)
$qos->qos_cm_desc()
(cbQosCMDesc)
$qos->qos_cm_info()
(cbQosCMInfo)

ClassMap Stats Table (cbQosCMStatsTable)

$qos->qos_octet_pre()
(cbQosCMPrePolicyByte)
$qos->qos_octet_post()
(cbQosCMPostPolicyByte)

Queueing Configuration Table (cbQosQueueingCfgTable)

$qos->qos_queueingcfg_bw()
(cbQosQueueingCfgBandwidth)
$qos->qos_queueingcfg_bw_units()
(cbQosQueueingCfgBandwidthUnits)