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

  • NEXANS
  • NEXANS-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