1SNMP::Info::Layer3::F5(U3spemr)Contributed Perl DocumentSaNtMiPo:n:Info::Layer3::F5(3pm)
2
3
4

NAME

6       SNMP::Info::Layer3::F5 - SNMP Interface to F5 network devices.
7

AUTHOR

9       Eric Miller
10

SYNOPSIS

12        # Let SNMP::Info determine the correct subclass for you.
13        my $f5 = new SNMP::Info(
14                                 AutoSpecify => 1,
15                                 Debug       => 1,
16                                 DestHost    => 'myswitch',
17                                 Community   => 'public',
18                                 Version     => 2
19                               )
20           or die "Can't connect to DestHost.\n";
21
22        my $class      = $f5->class();
23        print "SNMP::Info determined this device to fall under subclass : $class\n";
24

DESCRIPTION

26       Abstraction subclass for F5 network devices.
27
28   Inherited Classes
29       SNMP::Info::Layer3
30
31   Required MIBs
32       F5-BIGIP-COMMON-MIB
33       F5-BIGIP-SYSTEM-MIB
34       Inherited Classes' MIBs
35           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
36           requirements.
37

GLOBALS

39       These are methods that return scalar value from SNMP
40
41       $f5->model()
42           Return ("sysPlatformInfoMarketingName"), otherwise tries to
43           reference $f5->id() to F5-BIGIP-COMMON-MIB.
44
45       $f5->vendor()
46           Returns 'f5'
47
48       $f5->os()
49           Returns 'f5'
50
51       $f5->os_ver()
52           Returns the software version reported by "sysProductVersion"
53
54       $f5->fan()
55           Combines ("sysChassisFanStatus") into a single string.
56
57       $f5->ps1_status()
58           Returns status of primary power supply
59
60       $f5->ps2_status()
61           Returns status of redundant power supply
62
63   Globals imported from SNMP::Info::Layer3
64       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
65

TABLE METHODS

67       These are methods that return tables of information in the form of a
68       reference to a hash.
69
70   Overrides
71       $f5->i_duplex()
72           Returns reference to hash.  Maps port operational duplexes to IIDs.
73
74           ("sysInterfaceMediaActiveDuplex").
75
76       $f5->i_mtu()
77           Returns reference to hash.  Maps port operational MTU to IIDs
78
79           ("sysInterfaceMtu").
80
81       $f5->i_vlan()
82           Returns a mapping between "ifIndex" and the default VLAN.
83
84       $f5->i_vlan_membership()
85           Returns reference to hash of arrays: key = "ifIndex", value = array
86           of VLAN IDs.
87
88             Example:
89             my $interfaces = $f5->interfaces();
90             my $vlans      = $f5->i_vlan_membership();
91
92             foreach my $iid (sort keys %$interfaces) {
93               my $port = $interfaces->{$iid};
94               my $vlan = join(',', sort(@{$vlans->{$iid}}));
95               print "Port: $port VLAN: $vlan\n";
96             }
97
98       $f5->i_vlan_membership_untagged()
99           Returns reference to hash of arrays: key = "ifIndex", value = array
100           of VLAN IDs.  These are the VLANs which are members of the untagged
101           egress list for the port.
102
103       $f5->v_index()
104           Returns VLAN IDs
105
106       $f5->v_name()
107           Human-entered name for vlans.
108
109   Table Methods imported from SNMP::Info::Layer3
110       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
111
112
113
114perl v5.38.0                      2023-09-04       SNMP::Info::Layer3::F5(3pm)
Impressum