1Info::Layer3::Dell(3) User Contributed Perl DocumentationInfo::Layer3::Dell(3)
2
3
4
6 SNMP::Info::Layer3::Dell - SNMP Interface to Dell Power Connect Network
7 Devices
8
10 Eric Miller
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $dell = 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 = $dell->class();
24
25 print "SNMP::Info determined this device to fall under subclass : $class\n";
26
28 Provides abstraction to the configuration information obtainable from
29 an Dell Power Connect device through SNMP. D-Link and the IBM
30 BladeCenter Gigabit Ethernet Switch Module also use this module based
31 upon MIB support.
32
33 For speed or debugging purposes you can call the subclass directly, but
34 not after determining a more specific class using the method above.
35
36 my $dell = new SNMP::Info::Layer3::Dell(...);
37
38 Inherited Classes
39 SNMP::Info::Layer3
40
41 Required MIBs
42 Dell-Vendor-MIB
43 RADLAN-Physicaldescription-MIB
44 RADLAN-rlInterfaces
45 RADLAN-HWENVIROMENT
46 Inherited Classes' MIBs
47 See classes listed above for their required MIBs.
48
50 These are methods that return scalar value from SNMP
51
52 $dell->os_ver()
53 ("productIdentificationVersion")
54
55 $dell->dell_id_name()
56 ("productIdentificationDisplayName")
57
58 $dell->model()
59 Returns model type. Returns numeric from
60 ("productIdentificationDisplayName") if available, otherwise if
61 returns description().
62
63 $dell->vendor()
64 Returns 'dell', 'dlink', or 'ibm' based upon the IANA enterprise
65 number in id(). Defaults to 'dlink'.
66
67 $dell->os()
68 Returns 'dell', 'dlink', or 'ibm' based upon the IANA enterprise
69 number in id(). Defaults to 'dlink'.
70
71 Overrides
72 $dell->serial()
73 Returns serial number. Returns ("rlPhdUnitGenParamSerialNum") if
74 available, otherwise uses the Layer3 serial method.
75
76 Globals imported from SNMP::Info::Layer3
77 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
78
80 These are methods that return tables of information in the form of a
81 reference to a hash.
82
83 RADLAN Interface Table ("swIfTable")
84 $dell->dell_duplex_admin()
85 ("swIfDuplexAdminMode")
86
87 $dell->dell_duplex()
88 ("swIfDuplexOperMode")
89
90 $dell->dell_tag_mode()
91 ("swIfTaggedMode")
92
93 $dell->dell_i_type()
94 ("swIfType")
95
96 $dell->dell_fc_admin()
97 ("swIfFlowControlMode")
98
99 $dell->dell_speed_admin()
100 ("swIfSpeedAdminMode")
101
102 $dell->dell_auto()
103 ("swIfSpeedDuplexAutoNegotiation")
104
105 $dell->dell_fc()
106 ("swIfOperFlowControlMode")
107
108 Overrides
109 $dell->interfaces()
110 Returns the map between SNMP Interface Identifier (iid) and
111 physical port name. Uses name if available instead of description
112 since descriptions are sometimes not unique.
113
114 $dell->i_duplex_admin()
115 Returns reference to hash of iid to current link administrative
116 duplex setting.
117
118 $dell->fw_mac()
119 Returns reference to hash of forwarding table MAC Addresses.
120
121 Some devices don't implement the "BRIDGE-MIB" forwarding table, so
122 we use the "Q-BRIDGE-MIB" forwarding table. Fall back to the
123 "BRIDGE-MIB" if "Q-BRIDGE-MIB" doesn't return anything.
124
125 $dell->fw_port()
126 Returns reference to hash of forwarding table entries port
127 interface identifier (iid)
128
129 Some devices don't implement the "BRIDGE-MIB" forwarding table, so
130 we use the "Q-BRIDGE-MIB" forwarding table. Fall back to the
131 "BRIDGE-MIB" if "Q-BRIDGE-MIB" doesn't return anything.
132
133 Table Methods imported from SNMP::Info::Layer3
134 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
135
136
137
138perl v5.12.0 2009-06-12 Info::Layer3::Dell(3)