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 of IID if 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