SNMP::Info::Layer3::ArubaCX(3p)

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.