SNMP::...r3::ERX(3pm)
π SNMP::Info::Layer3::ERX β the bestie guide π
okay so you're here for SNMP::Info::Layer3::ERX, aka the SNMP Interface to Juniper ERX Layer 3 routers π«Ά β it lives in the Perl docs (3pm), and honestly? it's serving. let's get into it.
AUTHORS β Rob Woodward π
β¨ SYNOPSIS β¨
bestie, you don't even have to guess which subclass you need β just let it figure itself out:
# Let SNMP::Info determine the correct subclass for you.
my $ERX = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myrouter',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $ERX->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
like yes, it will literally print out its own vibe check for you. main character energy fr fr π
πΈ DESCRIPTION πΈ
it's a Subclass for Juniper ERX switches. that's the whole tea. π
π¦ Inherited Classes
SNMP::Info::Layer3
π¦ Required MIBs
Inherited Classes' MIBs
lowkey it doesn't have its own MIBs to show you here β you gotta peek at SNMP::Info::Layer3 for its own MIB requirements. iykyk π
π GLOBALS π
these are methods that return scalar value from SNMP. tiny little single values. cute. snack-sized. β¨
$ERX->vendor()β Returns'juniper'.$ERX->os()β Returns'JunOSe'.$ERX->os_ver()β Returns the software version extracted from"sysDescr".$ERX->model()β Returns the hardware model extracted from"sysDescr".
π« Globals imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details. (go read it, bestie, it ate.)
π TABLE ENTRIES π
these ones are the big girls β methods that return tables of information in the form of a reference to a hash. hash refs? iconic. π
π Overrides
$ERX->i_ignore()β Returns reference to hash. Increments value ofIIDif port is to be ignored.
Ignores InLoopback and Console interfaces β yeah, those two just don't get the invite to the party. not me ghosting a loopback π
π« Table Methods imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details. π₯
just a lil reminder bestie: the real details live in SNMP::Info::Layer3, so don't come for me if you skipped it π
sign-off, mwah π β this page is perl v5.40.1, dated 2026-02-28, brought to you by the User Contributed Perl Documentation squad. slay, periodt. πβ¨πΈ
π¦ 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