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-MIB
  • F5-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 to F5-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