1SNMP::Info::Layer3::F5(U3s)er Contributed Perl DocumentatSiNoMnP::Info::Layer3::F5(3)
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->interfaces()
72           Returns reference to the map between IID and physical port.
73
74           ("sysInterfaceName").
75
76       $f5->i_duplex()
77           Returns reference to hash.  Maps port operational duplexes to IIDs.
78
79       $f5->i_vlan()
80           Returns a mapping between "ifIndex" and the default VLAN.
81
82       $f5->i_vlan_membership()
83           Returns reference to hash of arrays: key = "ifIndex", value = array
84           of VLAN IDs.
85
86             Example:
87             my $interfaces = $f5->interfaces();
88             my $vlans      = $f5->i_vlan_membership();
89
90             foreach my $iid (sort keys %$interfaces) {
91               my $port = $interfaces->{$iid};
92               my $vlan = join(',', sort(@{$vlans->{$iid}}));
93               print "Port: $port VLAN: $vlan\n";
94             }
95
96       $f5->i_vlan_membership_untagged()
97           Returns reference to hash of arrays: key = "ifIndex", value = array
98           of VLAN IDs.  These are the VLANs which are members of the untagged
99           egress list for the port.
100
101       $f5->v_index()
102           Returns VLAN IDs
103
104       $f5->v_name()
105           Human-entered name for vlans.
106
107       $f5->i_name()
108           Returns the human set port name if exists.
109
110       $f5->i_type()
111           Returns 'ethernetCsmacd' for each "ifIndex".
112
113   Table Methods imported from SNMP::Info::Layer3
114       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
115
116
117
118perl v5.32.1                      2021-01-27         SNMP::Info::Layer3::F5(3)
Impressum