SNMP::...Nexans(3pm)
π SNMP::...Nexans(3pm) β aka the SNMP::Info::Layer2::Nexans era π
okay bestie, settle in, because this is the User Contributed Perl Documentation page for SNMP::Info::Layer2::Nexans, and it's genuinely so useful it's giving main character energy. β¨
πΈ NAME πΈ
SNMP::Info::Layer2::Nexans β the SNMP interface to Nexans network devices. no cap, that's literally it. π¦
π AUTHOR π
Christoph Neuhaus. ty king, we appreciate you π«Ά
β¨ SYNOPSIS β¨
First things first: let SNMP::Info figure out the correct subclass for you, because why would you do that by hand when the code will just... do it. π
# Let SNMP::Info determine the correct subclass for you.
my $nexans = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $nexans->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
like. it just tells you. iconic behaviour honestly. π₯
π DESCRIPTION π
This is an abstraction subclass for Nexans network devices. that's the whole vibe.
tested devices:
fiberSwitch100BmPlus version 3.61
gigaSwitch641DeskSfpTp version 3.68, 4.14W
gigaSwitchV3d2SfpSfp version 3.68, 4.02, 4.02B, 4.10C, 4,14W
(yes, 4,14W β that comma is verbatim, don't come for me, I'm just the messenger π)
𧬠Inherited Classes
SNMP::Info::Layer2
π Required MIBs
NEXANSNEXANS-BM
π Inherited Classes' MIBs
See "Required MIBs" in SNMP::Info::Layer2 for its own MIB requirements. it has its own needs, respect them. π
π GLOBALS π
These are methods that return scalar values from SNMP. tiny little single-value icons, we love them for that. π
$nexans->vendor()β Returns'nexans'$nexans->model()β Returns the chassis model.$nexans->os()β Returns'nexanos'$nexans->os_ver()β Returns the software version.$nexans->serial()β Returns the chassis serial number.
(it pulls from "infoSeriesNo", iykyk πΈ)
π Globals imported from SNMP::Info::Layer2
See documentation in "GLOBALS" in SNMP::Info::Layer2 for details. go read your ancestor's diary, bestie. π
π TABLE METHODS π
These are methods that return tables of information in the form of a reference to a hash. a whole lil' hash, as a treat. π«Ά
$nexans->i_name()β Returns reference to map of IIDs to human-set port name.
π¦ Table Methods imported from SNMP::Info::Layer2
See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
π Data Munging Callback Subroutines π
the glow-up corner. where raw SNMP values get cute. π
munge_i_duplex()β Converts duplex returned by"portLinkState"to either'full'or'half'.munge_i_duplex_admin()β Converts duplex returned by"portSpeedDuplexSetup"to either'full','half', or'auto'.
and that's the whole page, bestie, no notes. this one's perl v5.40.1, dated 2026-02-28, and it says SNMP::...Nexans(3pm) right there in the corner like a lil signature. slay, go query a switch. π
β¨
π¦ 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