SNMP::...ntivity(3pm)

πŸ’– SNMP::Info::Layer3::Contivity πŸ’–

okay bestie, so this whole thing lives in the SNMP::...ntivity(3pm) page of the User Contributed Perl Documentation, and it's genuinely iconic. no cap. it's the SNMP interface glue for Avaya/Nortel VPN Routers 🌈


✨ NAME ✨

SNMP::Info::Layer3::Contivity</pinky> β€” the SNMP Interface to Avaya/Nortel VPN Routers (formerly known as Contivity Extranet Switches). yes she used to go by a different name, we love a rebrand πŸ’…

🫢 AUTHOR 🫢

Eric Miller β€” the legend, the moment, the main character πŸ‘‘

πŸŽ€ SYNOPSIS πŸŽ€

so like, here's how you actually summon her:

# Let SNMP::Info determine the correct subclass for you.
my $contivity = new SNMP::Info(
                         AutoSpecify => 1,
                         Debug       => 1,
                         DestHost    => 'myswitch',
                         Community   => 'public',
                         Version     => 2
                       )
   or die "Can't connect to DestHost.\n";

my $class = $contivity->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";

and then she tells you what subclass she decided your device belongs to πŸ¦‹

🌸 DESCRIPTION 🌸

She's an abstraction subclass for Avaya/Nortel VPN Routers (formerly Contivity Extranet Switch). Built different, fr fr πŸ’œ

🧚 Inherited Classes

  • SNMP::Info::Layer3

πŸ“ Required MIBs

πŸ’« Inherited Classes' MIBs

Peep "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements β€” she doesn't hoard them, she inherits them πŸŽ€

πŸ‘‘ GLOBALS πŸ‘‘

These are methods that return scalar value from SNMP ✨

  • $contivity->vendor() β€” returns 'avaya' πŸ’–
  • $contivity->model() β€” returns the chassis name.

(from "entPhysicalModelName.1")

  • $contivity->os() β€” returns 'contivity' πŸ’…
  • $contivity->os_ver() β€” returns the software version extracted from "sysDescr".
  • $contivity->serial() β€” returns the chassis serial number.

(from "entPhysicalSerialNum.1")

  • $contivity->mac() β€” returns the MAC address of the first Ethernet Interface 🌈

πŸ”₯ Overrides

  • $contivity->layers() β€” returns 00000100. Contivity does not support bridge MIB, so this override is here to fix up the reported layers. she said "not me reporting layers you can't have" 😭

πŸ¦‹ 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, bestie πŸ“

πŸ’œ Overrides

  • $contivity->interfaces() β€” returns reference to the map between IID and physical Port. Skips loopback and tunnel interfaces πŸ™ˆ
  • $contivity->i_name() β€” Interface Name field. Skips loopback and tunnel interfaces. same energy, same skips πŸ’…

πŸ’« Table Methods imported from SNMP::Info::Layer3

See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details ✨


lowkey the whole thing is just vibes and inherited MIBs, and that's on periodt πŸ’€

sign-off time, bestie πŸŽ€ this lil masterpiece was cooked up by perl v5.40.1 and dated 2026-02-28 β€” the SNMP::...ntivity(3pm) page, slaying since forever πŸŒΈπŸ’–βœ¨

πŸ“¦ where this page comes from