1Info::Layer3::Foundry(3U)ser Contributed Perl DocumentatiIonnfo::Layer3::Foundry(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Foundry - SNMP Interface to Foundry Network Devices
7

AUTHOR

9       Max Baker
10

SYNOPSIS

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

DESCRIPTION

27       Abstraction subclass for Foundry Networks devices.
28
29       For speed or debugging purposes you can call the subclass directly, but
30       not after determining a more specific class using the method above.
31
32        my $foundry = new SNMP::Info::Layer3::Foundry(...);
33
34   Inherited Classes
35       SNMP::Info::Layer3;
36       SNMP::Info::FDP;
37       SNMP::Info::LLDP;
38
39   Required MIBs
40       FOUNDRY-SN-ROOT-MIB
41       FOUNDRY-SN-AGENT-MIB
42       FOUNDRY-SN-SWITCH-GROUP-MIB
43       Inherited Classes' MIBs
44           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
45           requirements.
46
47           See "Required MIBs" in SNMP::Info::FDP for its own MIB
48           requirements.
49
50           See "Required MIBs" in SNMP::Info::LLDP for its own MIB
51           requirements.
52

GLOBALS

54       These are methods that return scalar value from SNMP
55
56       $foundry->model()
57           Returns model type.  Checks $foundry->id() against the FOUNDRY-SN-
58           ROOT-MIB and removes '"sn"'.  EdgeIron models determined through
59           ENTITY-MIB.
60
61       $foundry->vendor()
62           Returns 'foundry'
63
64       $foundry->os()
65           Returns 'foundry'
66
67       $foundry->os_ver()
68           Returns the software version
69
70       $foundry->mac()
71           Returns MAC Address of root port.
72
73           ("ifPhysAddress.1")
74
75       $foundry->chassis()
76           Returns Chassis type.
77
78           ("entPhysicalDescr.1")
79
80       $foundry->serial()
81           Returns serial number of device.
82
83       $foundry->temp()
84           Returns the chassis temperature
85
86           ("snChasActualTemperature")
87
88       $foundry->ps1_type()
89           Returns the Description for the power supply
90
91           ("snChasPwrSupplyDescription.1")
92
93       $foundry->ps1_status()
94           Returns the status of the power supply.
95
96           ("snChasPwrSupplyOperStatus.1")
97
98       $foundry->fan()
99           Returns the status of the chassis fan.
100
101           ("snChasFanOperStatus.1")
102
103   Global Methods imported from SNMP::Info::Layer3
104       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
105
106   Global Methods imported from SNMP::Info::FDP
107       See documentation in "GLOBALS" in SNMP::Info::FDP for details.
108
109   Global Methods imported from SNMP::Info::LLDP
110       See documentation in "GLOBALS" in SNMP::Info::LLDP for details.
111

TABLE METHODS

113       These are methods that return tables of information in the form of a
114       reference to a hash.
115
116   Overrides
117       $foundry->interfaces()
118           Returns reference to hash of interface names to iids.
119
120       $foundry->i_ignore()
121           Returns reference to hash of interfaces to be ignored.
122
123           Ignores interfaces with descriptions of  tunnel,loopback,null
124
125       $foundry->i_duplex()
126           Returns reference to hash of interface link duplex status.
127
128           Crosses $foundry->sw_duplex() with $foundry->sw_index()
129
130       $foundry->stp_p_state()
131           "The port's current state as defined by application of the Spanning
132           Tree Protocol.
133
134           Skipped if device is an EdgeIron 24G due to reports of hangs.
135
136           ("dot1dStpPortState")
137
138   Foundry Switch Port Information Table ("snSwPortIfTable")
139       $foundry->sw_index()
140           Returns reference to hash.  Maps Table to Interface IID.
141
142           ("snSwPortIfIndex")
143
144       $foundry->sw_duplex()
145           Returns reference to hash.   Current duplex status for switch
146           ports.
147
148           ("snSwPortInfoChnMode")
149
150       $foundry->sw_type()
151           Returns reference to hash.  Current Port Type .
152
153           ("snSwPortInfoMediaType")
154
155       $foundry->sw_speed()
156           Returns reference to hash.  Current Port Speed.
157
158           ("snSwPortInfoSpeed")
159
160   Topology information
161       Based upon the software version devices may support Foundry Discovery
162       Protocol (FDP) and Link Layer Discovery Protocol (LLDP). These methods
163       will query both and return the combination of all information. As a
164       result, there may be identical topology information returned from the
165       two protocols causing duplicate entries.  It is the calling program's
166       responsibility to identify any duplicate entries and remove duplicates
167       if necessary.
168
169       $foundry->hasCDP()
170           Returns true if the device is running either FDP or LLDP.
171
172       $foundry->c_if()
173           Returns reference to hash.  Key: iid Value: local device port
174           (interfaces)
175
176       $foundry->c_ip()
177           Returns reference to hash.  Key: iid Value: remote IPv4 address
178
179           If multiple entries exist with the same local port, c_if(), with
180           the same IPv4 address, c_ip(), it may be a duplicate entry.
181
182           If multiple entries exist with the same local port, c_if(), with
183           different IPv4 addresses, c_ip(), there is either a non-FDP/LLDP
184           device in between two or more devices or multiple devices which are
185           not directly connected.
186
187           Use the data from the Layer2 Topology Table below to dig deeper.
188
189       $foundry->c_port()
190           Returns reference to hash. Key: iid Value: remote port (interfaces)
191
192       $foundry->c_id()
193           Returns reference to hash. Key: iid Value: string value used to
194           identify the chassis component associated with the remote system.
195
196       $foundry->c_platform()
197           Returns reference to hash.  Key: iid Value: Remote Device Type
198
199   Table Methods imported from SNMP::Info::Layer3
200       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
201
202   Table Methods imported from SNMP::Info::FDP
203       See documentation in "TABLE METHODS" in SNMP::Info::FDP for details.
204
205   Table Methods imported from SNMP::Info::LLDP
206       See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
207
208
209
210perl v5.12.0                      2009-06-12          Info::Layer3::Foundry(3)
Impressum