SNMP::Info::Layer3::ArubaCX - SNMP Interface to L3 Devices running ArubaOS-CX
Jeroen van Ingen
# 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";
Subclass for devices running ArubaOS-CX
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.
These are methods that return scalar value from SNMP
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.
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.
entPhysicalModelName.1
sysObjectID
Returns (lowercased) value for entPhysicalMfgName.1, or 'aruba'.
entPhysicalMfgName.1
Returns 'arubaos-cx'.
Returns the software version. Either entPhysicalSoftwareRev.1 or extracted from sysDescr.
entPhysicalSoftwareRev.1
sysDescr
Returns a string with status information for all fans listed in ARUBAWIRED-FAN-MIB.
ARUBAWIRED-FAN-MIB
See documentation in SNMP::Info::Layer3 for details.
See documentation in SNMP::Info::IEEE802_Bridge for details.
See documentation in SNMP::Info::IEEE802dot3ad for details.
These are methods that return tables of information in the form of a reference to a hash.
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
qb_i_vlan
i_vlan_type
qb_v_egress
qb_cv_egress
qb_v_untagged
qb_cv_untagged
Q-BRIDGE-MIB
To install SNMP::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Info
CPAN shell
perl -MCPAN -e shell install SNMP::Info
For more information on module installation, please visit the detailed CPAN module installation guide.