SNMP::Info::Layer3::Enterasys - SNMP Interface to Enterasys Network Devices
# Let SNMP::Info determine the correct subclass for you.
my $enterasys = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $enterasys->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
Provides abstraction to the configuration information obtainable from an
Enterasys device through SNMP.
- SNMP::Info::MAU
- SNMP::Info::CDP
- SNMP::Info::Layer3
See "Required MIBs" in SNMP::Info::MAU for its MIB requirements.
See "Required MIBs" in SNMP::Info::CDP for its MIB
requirements.
See "Required MIBs" in SNMP::Info::Layer3 for its MIB
requirements.
These are methods that return scalar value from SNMP
- $enterasys->model()
- Returns model type. Checks
$enterasys->id() against the
ENTERASYS-OIDS-MIB.
- $enterasys->vendor()
- Returns enterasys
- $enterasys->os()
- Returns enterasys
- $enterasys->os_ver()
- Returns os version extracted from
"sysDescr"
- $enterasys->mac()
- Returns base mac
("dot1dBaseBridgeAddress")
See documentation in "GLOBALS" in SNMP::Info::MAU for details.
See documentation in "GLOBALS" in SNMP::Info::CDP for details.
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
These are methods that return tables of information in the form of a reference
to a hash.
- $enterasys->interfaces()
- Mapping between the Interface Table Index (iid) and the physical port
name.
- $enterasys->i_ignore()
- Returns reference to hash. Creates a key for each IID that should be
ignored.
Currently looks for rs232, tunnel,loopback,lo,null from
$enterasys->interfaces()
- $enterasys->i_duplex()
- See documentation for mau_i_duplex() in "TABLE METHODS"
in SNMP::Info::MAU.
- $enterasys->i_duplex_admin()
- See documentation for mau_i_duplex_admin() in "TABLE
METHODS" in SNMP::Info::MAU.
The time filter "TimeFilter" implementation
continuously increments when walked and we may never reach the end of the
table. This behavior can be modified with the "set snmp
timefilter break disable" command, unfortunately it is not the
default. These methods are overridden to supply a partial value of zero which
means no time filter.
- $enterasys->qb_fdb_index()
- $enterasys->i_vlan_membership()
- $enterasys->i_vlan_membership_untagged()
- $enterasys->lldp_if()
- $enterasys->lldp_ip()
- $enterasys->lldp_port()
- $enterasys->lldp_id()
- $enterasys->lldp_platform()
See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for
details.