---
name: "SNMP::Info::Layer3::ArubaCX"
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::Layer3::ArubaCX"
---

# SNMP::Info::Layer3::ArubaCX(3pm)

SNMP Interface to L3 Devices running ArubaOS-CX

## NAME

SNMP::Info::Layer3::ArubaCX - SNMP Interface to L3 Devices running ArubaOS-CX

## AUTHORS

Jeroen van Ingen

## SYNOPSIS

```
 # Let SNMP::Info determine the correct subclass for you.
 my $cx = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          DestHost    => 'myrouter',
                          Community   => 'public',
                          Version     => 2
                        )
    or die "Can't connect to DestHost.\n";
 my $class      = $cx->class();
 print "SNMP::Info determined this device to fall under subclass : $class\n";
```

## DESCRIPTION

Subclass for devices running ArubaOS-CX

### Inherited Classes

- SNMP::Info::Layer3

  - SNMP::Info::IEEE802\_Bridge

  - SNMP::Info::IEEE802dot3ad

  ### Required MIBs

- *ARUBAWIRED-FAN-MIB*

  - *ARUBAWIRED-VSF-MIB*

  - *ARUBAWIRED-POE-MIB*

  - *ARUBAWIRED-POWERSUPPLY-MIB*

  - Inherited Classes' MIBs

  See SNMP::Info::Layer3 for its own MIB requirements.

  See SNMP::Info::IEEE802\_Bridge for its own MIB requirements.

  See SNMP::Info::IEEE802dot3ad for its own MIB requirements.

## GLOBALS

These are methods that return scalar value from SNMP

- $cx-\>**stack\_info()**

  If the device supports VSF stacking and is not in standalone mode, returns a string describing the switch family and the number of stack members. Example return value: '6300M (stack of 2)'. Will return undef when VSF is not supported or when the device is VSF standalone.

- $cx-\>**model()**

  Returns **stack\_info()** if defined, otherwise will fall back to returning the model from `"entPhysicalModelName.1"`; if that's also not set, will use `"sysObjectID"` as a last resort, stripping 'arubaWiredSwitch' from the value.

- $cx-\>**vendor()**

  Returns (lowercased) value for `"entPhysicalMfgName.1"`, or 'aruba'.

- $cx-\>**os()**

  Returns 'arubaos-cx'.

- $cx-\>**os\_ver()**

  Returns the software version. Either `"entPhysicalSoftwareRev.1"` or extracted from `"sysDescr"`.

- $cx-\>**fan()**

  Returns a string with status information for all fans listed in `"ARUBAWIRED-FAN-MIB"`.

### Globals imported from SNMP::Info::Layer3

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

### Globals imported from SNMP::Info::IEEE802\_Bridge

See documentation in SNMP::Info::IEEE802\_Bridge for details.

### Globals imported from SNMP::Info::IEEE802dot3ad

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

## TABLE ENTRIES

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

- $cx-\>**peth\_port\_power()**

  Power supplied by PoE ports, in milliwatts. (`"arubaWiredPoePethPsePortAveragePower"`)

### Overrides

- "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.

- "v\_name" =item "qb\_i\_vlan" =item "i\_vlan\_type" =item "qb\_v\_egress" =item "qb\_cv\_egress" =item "qb\_v\_untagged" =item "qb\_cv\_untagged" All overridden to return the VLAN data structures that we'd expect for a device that implements "Q-BRIDGE-MIB", but with data from SNMP::Info::IEEE8021\_Bridge at PBB 1.

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

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

### Table Methods imported from SNMP::Info::IEEE802\_Bridge

See documentation in SNMP::Info::IEEE802\_Bridge for details.

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

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