---
name: "SNMP::Info::CiscoAgg"
section: "3pm"
platform: "linux"
package: "libsnmp-info-perl"
version: "3.972002-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SNMP::Info::CiscoAgg"
---

# SNMP::Info::CiscoAgg(3pm)

SNMP Interface to Cisco Aggregated Links

## NAME

SNMP::Info::CiscoAgg - SNMP Interface to Cisco Aggregated Links

## AUTHOR

SNMP::Info Developers

## SYNOPSIS

```
 # Let SNMP::Info determine the correct subclass for you.
 my $info = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          DestHost    => 'myrouter',
                          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";
```

## DESCRIPTION

This class provides access to Aggregated Links configuration on Cisco devices. It combines Cisco PAgP, Cisco proprietary info and IEEE 802.3ad information.

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

### Inherited Classes

SNMP::Info::IEEE802dot3ad

### Required MIBs

- *CISCO-PAGP-MIB*

  - *CISCO-LAG-MIB*

  - *CISCO-IF-EXTENSION-MIB*

  ## TABLE METHODS

- "agg\_ports"

  Returns a HASH reference mapping from slave to master port for each member of a port bundle on the device. Keys are ifIndex of the slave ports, Values are ifIndex of the corresponding master ports.

- "agg\_ports\_cisco"

  Implements the cisco LAG info retrieval. Merged into `"agg_ports"` data automatically. Will fetch all members of `"clagAggPortListInterfaceIndexList"` even if they are not running an aggregation protocol.

- "agg\_ports\_pagp"

  Implements the PAgP LAG info retrieval. Merged into `"agg_ports"` data automatically.

- "agg\_ports\_propvirtual"

  A version of SNMP::Info::Aggregate::agg\_ports\_ifstack that inspects only ports of type propVirtual. You still need to use agg\_ports\_ifstack.

- "lag\_members"

  Mimics `"ad_lag_ports"` from SNMP::Info::IEEE802dot3ad but based on ifindex instead of instead of bp\_index.

### OVERRIDES

- "agg\_ports\_lag"

  This will retrieve LAG ports based on `"dot3adAggPortSelectedAggID"` data. It will be merged into `"agg_ports"` data.

### Table Methods imported from SNMP::Info::IEEE802dot3ad

See documentation in SNMP::Info::IEEE802dot3ad for details.

## MUNGES

- "munge\_port\_ifindex"

  Takes `"clagAggPortListInterfaceIndexList"`, uses the index as master port, then returns all members as ifindex. Works with single or multiple slaves to a master.
