1Info::Layer3::EnterasysU(s3e)r Contributed Perl DocumentaItnifoon::Layer3::Enterasys(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Enterasys - SNMP Interface to Enterasys Network
7       Devices
8

AUTHOR

10       Eric Miller
11

SYNOPSIS

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

DESCRIPTION

28       Provides abstraction to the configuration information obtainable from
29       an Enterasys device through SNMP.
30
31       For speed or debugging purposes you can call the subclass directly, but
32       not after determining a more specific class using the method above.
33
34       my $enterasys = new SNMP::Info::Layer3::Enterasys(...);
35
36   Inherited Classes
37       SNMP::Info::MAU
38       SNMP::Info::LLDP
39       SNMP::Info::CDP
40       SNMP::Info::Layer3
41
42   Required MIBs
43       ENTERASYS-OIDS-MIB
44
45   Inherited MIBs
46       See "Required MIBs" in SNMP::Info::MAU for its MIB requirements.
47
48       See "Required MIBs" in SNMP::Info::LLDP for its MIB requirements.
49
50       See "Required MIBs" in SNMP::Info::CDP for its MIB requirements.
51
52       See "Required MIBs" in SNMP::Info::Layer3 for its MIB requirements.
53

GLOBALS

55       These are methods that return scalar value from SNMP
56
57       $enterasys->model()
58           Returns model type.  Checks $enterasys->id() against the ENTERASYS-
59           OIDS-MIB.
60
61       $enterasys->vendor()
62           Returns enterasys
63
64       $enterasys->os()
65           Returns enterasys
66
67       $enterasys->os_ver()
68           Returns os version extracted from "sysDescr"
69
70       $enterasys->mac()
71           Returns base mac
72
73           ("dot1dBaseBridgeAddress")
74
75   Overrides
76   Globals imported from SNMP::Info::MAU
77       See documentation in "GLOBALS" in SNMP::Info::MAU for details.
78
79   Globals imported from SNMP::Info::LLDP
80       See documentation in "GLOBALS" in SNMP::Info::LLDP for details.
81
82   Globals imported from SNMP::Info::CDP
83       See documentation in "GLOBALS" in SNMP::Info::CDP for details.
84
85   Globals imported from SNMP::Info::Layer3
86       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
87

TABLE METHODS

89       These are methods that return tables of information in the form of a
90       reference to a hash.
91
92   Overrides
93       $enterasys->interfaces()
94           Mapping between the Interface Table Index (iid) and the physical
95           port name.
96
97       $enterasys->i_ignore()
98           Returns reference to hash.  Creates a key for each IID that should
99           be ignored.
100
101           Currently looks for rs232, tunnel,loopback,lo,null from
102           $enterasys->interfaces()
103
104       $enterasys->i_duplex()
105           See documentation for mau_i_duplex() in "TABLE METHODS" in
106           SNMP::Info::MAU.
107
108       $enterasys->i_duplex_admin()
109           See documentation for mau_i_duplex_admin() in "TABLE METHODS" in
110           SNMP::Info::MAU.
111
112       $enterasys->fw_mac()
113           Returns reference to hash of forwarding table MAC Addresses.
114
115       $enterasys->fw_port()
116           Returns reference to hash of forwarding table entries port
117           interface identifier (iid).
118
119           ("dot1qTpFdbPort")
120
121   Topology information
122       Based upon the firmware version Enterasys devices may support Cabletron
123       Discovery Protocol (CTRON CDP), Cisco Discovery Protocol (CDP), Link
124       Layer Discovery Protocol (LLDP), or all.  This module currently
125       supports CDP and LLDP, but not CTRON CDP.  These methods will query
126       both CDP and LLDP and return the combination of all information.  As a
127       result, there may be identical topology information returned from the
128       two protocols causing duplicate entries.  It is the calling program's
129       responsibility to identify any duplicate entries and remove duplicates
130       if necessary.
131
132       $enterasys->hasCDP()
133           Returns true if the device is running either CDP or LLDP.
134
135       $enterasys->c_if()
136           Returns reference to hash.  Key: iid Value: local device port
137           (interfaces)
138
139       $enterasys->c_ip()
140           Returns reference to hash.  Key: iid Value: remote IPv4 address
141
142           If multiple entries exist with the same local port, c_if(), with
143           the same IPv4 address, c_ip(), it may be a duplicate entry.
144
145           If multiple entries exist with the same local port, c_if(), with
146           different IPv4 addresses, c_ip(), there is either a non-CDP/LLDP
147           device in between two or more devices or multiple devices which are
148           not directly connected.
149
150           Use the data from the Layer2 Topology Table below to dig deeper.
151
152       $enterasys->c_port()
153           Returns reference to hash. Key: iid Value: remote port (interfaces)
154
155       $enterasys->c_id()
156           Returns reference to hash. Key: iid Value: string value used to
157           identify the chassis component associated with the remote system.
158
159       $enterasys->c_platform()
160           Returns reference to hash.  Key: iid Value: Remote Device Type
161
162   Table Methods imported from SNMP::Info::MAU
163       See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
164
165   Table Methods imported from SNMP::Info::LLDP
166       See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
167
168   Table Methods imported from SNMP::Info::CDP
169       See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
170
171   Table Methods imported from SNMP::Info::Layer3
172       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
173
174
175
176perl v5.12.0                      2009-06-12        Info::Layer3::Enterasys(3)
Impressum