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()β returns00000100. 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
- 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