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       For speed or debugging purposes you can call the subclass directly, but
29       not after determining a more specific class using the method above.
30
31        my $f5 = new SNMP::Info::Layer3::F5(...);
32
33   Inherited Classes
34       SNMP::Info::Layer3
35
36   Required MIBs
37       F5-BIGIP-COMMON-MIB
38       F5-BIGIP-SYSTEM-MIB
39       Inherited Classes' MIBs
40           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
41           requirements.
42

GLOBALS

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

TABLE METHODS

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