SNMP::...r3::F5(3pm)
π SNMP::Info::Layer3::F5 π
okay bestie, welcome to the manual page for SNMP::Info::Layer3::F5 (it lives in the 3pm section, so yes, it's a Perl module page, we're doing this) π
β¨ NAME β¨
SNMP::Info::Layer3::F5 β your SNMP interface to F5 network devices, fr fr. π¦
βοΈ AUTHOR βοΈ
Eric Miller β give them their flowers, periodt. π
πΈ SYNOPSIS πΈ
like, here's the whole vibe in code, no cap:
# Let SNMP::Info determine the correct subclass for you.
my $f5 = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $f5->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
π«Ά DESCRIPTION π«Ά
It's an abstraction subclass for F5 network devices. That's the whole assignment and it ate. π
𧬠Inherited Classes
SNMP::Info::Layer3
π Required MIBs
F5-BIGIP-COMMON-MIBF5-BIGIP-SYSTEM-MIB
π§ Inherited Classes' MIBs
See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements β yes you have to go read that one too, iykyk. π
π GLOBALS π
These are methods that return a scalar value straight from SNMP. Little single-value queens. π
$f5->model()β Returns"sysPlatformInfoMarketingName", and otherwise tries to reference$f5->id()over toF5-BIGIP-COMMON-MIB. So it's giving backup-plan energy. β¨$f5->vendor()β Returns'f5'.$f5->os()β Returns'f5'.$f5->os_ver()β Returns the software version reported by"sysProductVersion".$f5->fan()β Combines("sysChassisFanStatus")into a single string.$f5->ps1_status()β Returns status of primary power supply. π$f5->ps2_status()β Returns status of redundant power supply. (backup power, it's giving reliable π)
π¦ Globals imported from SNMP::Info::Layer3
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details. Bestie, it's all in there. π«Ά
π TABLE METHODS π
These are methods that return tables of information in the form of a reference to a hash. Whole tables, plural, we love a data dump. π₯
π Overrides
$f5->i_duplex()β Returns reference to hash. Maps port operational duplexes to IIDs. Uses("sysInterfaceMediaActiveDuplex").$f5->i_mtu()β Returns reference to hash. Maps port operational MTU to IIDs. Uses("sysInterfaceMtu").$f5->i_vlan()β Returns a mapping between"ifIndex"and the default VLAN.$f5->i_vlan_membership()β Returns reference to hash of arrays: key ="ifIndex", value = array of VLAN IDs. πΈ
Example:
my $interfaces = $f5->interfaces();
my $vlans = $f5->i_vlan_membership();
foreach my $iid (sort keys %$interfaces) {
my $port = $interfaces->{$iid};
my $vlan = join(',', sort(@{$vlans->{$iid}}));
print "Port: $port VLAN: $vlan\n";
}
$f5->i_vlan_membership_untagged()β Returns reference to hash of arrays: key ="ifIndex", value = array of VLAN IDs. These are the VLANs which are members of the untagged egress list for the port. Untagged girlies rise up. π$f5->v_index()β Returns VLAN IDs.$f5->v_name()β Human-entered name for vlans. Humans typed these, be nice. π
π₯ Table Methods imported from SNMP::Info::Layer3
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
π heads up bestie: some of these method descriptions in the original are just quoted MIB object names in parentheses, so that's exactly what you're getting here. No guessing, no inventing, no extra lore. Not me being a respectful queen about it. π
and that's the page, babes π it's perl v5.40.1, dated 2026-02-28, and it's from the User Contributed Perl Documentation collection. slay, go query something. π
π¦β¨
π¦ 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