SNMP::...terasys(3pm)
π SNMP::...terasys(3pm) β like, the whole thing π
okay bestie, sit down, hydrate, and let me tell you about SNMP::Info::Layer3::Enterasys β it's the SNMP interface to Enterasys network devices, from the User Contributed Perl Documentation corner of the universe. π¦
β¨ NAME β¨
SNMP::Info::Layer3::Enterasys β the SNMP Interface to Enterasys Network Devices. yes that's the whole name and yes it ate. π
π«Ά AUTHOR π«Ά
Eric Miller β the icon who made this. credit where it's due, periodt.
π SYNOPSIS π
here's the vibe β let SNMP::Info figure out which subclass you actually are, because guessing is not the move:
# 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";
so AutoSpecify, Debug, DestHost, Community, Version β all laid out, all cute. and if the new fails it dies with "Can't connect to DestHost.\n", no cap. π
π DESCRIPTION π
This bad boy provides abstraction to the configuration information obtainable from an Enterasys device through SNMP. it's giving translator, honestly.
π Inherited Classes π
these are the ancestors, the family tree, the lineage:
SNMP::Info::MAUSNMP::Info::CDPSNMP::Info::Layer3
πΈ Required MIBs πΈ
ENTERASYS-OIDS-MIB
that's it, that's the one you need need. π
π§ Inherited MIBs π§
each parent has their own MIB wishes, so go check:
- See "Required MIBs" in
SNMP::Info::MAUfor its MIB requirements. - See "Required MIBs" in
SNMP::Info::CDPfor its MIB requirements. - See "Required MIBs" in
SNMP::Info::Layer3for its MIB requirements.
π GLOBALS π
these are methods that return scalar value from SNMP. little single-value snacks. β
$enterasys->model()β returns model type. it checks$enterasys->id()against theENTERASYS-OIDS-MIB. cross-referencing queen. π$enterasys->vendor()β returnsenterasys. short, sweet, iconic.$enterasys->os()β returnsenterasys. again. consistency π$enterasys->os_ver()β returns os version extracted from"sysDescr".$enterasys->mac()β returns base mac. the source is("dot1dBaseBridgeAddress")and yes we're naming names. π
π« Globals imported from SNMP::Info::MAU π«
See documentation in "GLOBALS" in SNMP::Info::MAU for details.
π« Globals imported from SNMP::Info::CDP π«
See documentation in "GLOBALS" in SNMP::Info::CDP for details.
π« Globals imported from SNMP::Info::Layer3 π«
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
π₯ TABLE METHODS π₯
these are methods that return tables of information in the form of a reference to a hash. big data energy, honestly. π
π Overrides π
$enterasys->interfaces()β mapping between the Interface Table Index (iid) and the physical port name. matchmaker behaviour. π$enterasys->i_ignore()β Returns reference to hash. Creates a key for each IID that should be ignored.
Currently it's looking for rs232, tunnel, loopback, lo, null from $enterasys->interfaces() β like a bouncer at the club, no entry for those. π
$enterasys->i_duplex()β See documentation formau_i_duplex()in "TABLE METHODS" inSNMP::Info::MAU.$enterasys->i_duplex_admin()β See documentation formau_i_duplex_admin()in "TABLE METHODS" inSNMP::Info::MAU.
β° Time Filter Table Index Overrides β°
okay so this one is a whole saga. the time filter "TimeFilter" implementation continuously increments when walked, and we may never reach the end of the table. like an infinite scroll you did not sign up for. π
you can change this behaviour with the set snmp timefilter break disable command β unfortunately, it is not the default. rude, honestly.
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()
pro tip-ish: the "not the default" thing is the actual technical caveat here. don't forget it. π«Ά
π« Table Methods imported from SNMP::Info::MAU π«
See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
π« Table Methods imported from SNMP::Info::CDP π«
See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
π« Table Methods imported from SNMP::Info::Layer3 π«
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
and that's the whole page bestie, every option, every method, every MIB. π β¨
kisses, this was perl v5.40.1, dated 2026-02-28, by way of the SNMP::...terasys(3pm) page. slay, stay connected, and may your DestHost always answer. ππ¦π
π¦ where this page comes from
- ubuntu stonking: libsnmp-info-perl 3.975000-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms