1Info::Layer3::C3550(3)User Contributed Perl DocumentationInfo::Layer3::C3550(3)
2
3
4

NAME

6       SNMP::Info::Layer3::C3550 - SNMP Interface to Cisco Catalyst 3550 Layer
7       2/3 Switches running IOS
8

AUTHOR

10       Max Baker
11

SYNOPSIS

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

DESCRIPTION

28       Abstraction subclass for Cisco Catalyst 3550 Layer 2/3 Switches.
29
30       These devices run IOS but have some of the same characteristics as the
31       Catalyst WS-C family (5xxx,6xxx).  For example, forwarding tables are
32       held in VLANs, and extended interface information is gleaned from
33       CISCO-SWITCH-MIB.
34
35       For speed or debugging purposes you can call the subclass directly, but
36       not after determining a more specific class using the method above.
37
38        my $c3550 = new SNMP::Info::Layer3::C3550(...);
39
40   Inherited Classes
41       SNMP::Info::Layer3
42       SNMP::Info::CiscoSTPExtensions
43       SNMP::Info::CiscoPower
44       SNMP::Info::CiscoPortSecurity
45       SNMP::Info::CiscoVTP
46       SNMP::Info::CiscoStack
47       SNMP::Info::CDP
48       SNMP::Info::CiscoStats
49       SNMP::Info::CiscoImage
50
51   Required MIBs
52       Inherited Classes' MIBs
53           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
54           requirements.
55
56           See "Required MIBs" in SNMP::Info::CiscoStpExtensions for its own
57           MIB requirements.
58
59           See "Required MIBs" in SNMP::Info::CiscoPower for its own MIB
60           requirements.
61
62           See "Required MIBs" in SNMP::Info::CiscoPortSecurity for its own
63           MIB requirements.
64
65           See "Required MIBs" in SNMP::Info::CiscoVTP for its own MIB
66           requirements.
67
68           See "Required MIBs" in SNMP::Info::CiscoStack for its own MIB
69           requirements.
70
71           See "Required MIBs" in SNMP::Info::CiscoStats for its own MIB
72           requirements.
73
74           See "Required MIBs" in SNMP::Info::CiscoImage for its own MIB
75           requirements.
76
77           See "Required MIBs" in SNMP::Info::CDP for its own MIB
78           requirements.
79

GLOBALS

81       These are methods that return scalar value from SNMP
82
83       $c3550->vendor()
84           Returns 'cisco'
85
86       $c3550->model()
87           Will take the translated model number and try to format it better.
88
89            355048 -> 3550-48
90            355012G -> 3550-12G
91
92       $c3550->ports()
93           Tries to cull the number of ports from the model number.
94
95       $c3550->cisco_comm_indexing()
96           Returns 1.  Use vlan indexing.
97
98   Globals imported from SNMP::Info::Layer3
99       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
100
101   Globals imported from SNMP::Info::CiscoStpExtensions
102       See documentation in "GLOBALS" in SNMP::Info::CiscoStpExtensions for
103       details.
104
105   Globals imported from SNMP::Info::CiscoPower
106       See documentation in "GLOBALS" in SNMP::Info::CiscoPower for details.
107
108   Globals imported from SNMP::Info::CiscoPortSecurity
109       See documentation in "GLOBALS" in SNMP::Info::CiscoPortSecurity for
110       details.
111
112   Global Methods imported from SNMP::Info::CiscoVTP
113       See documentation in "GLOBALS" in SNMP::Info::CiscoVTP for details.
114
115   Global Methods imported from SNMP::Info::CiscoStack
116       See documentation in "GLOBALS" in SNMP::Info::CiscoStack for details.
117
118   Globals imported from SNMP::Info::CDP
119       See documentation in "GLOBALS" in SNMP::Info::CDP for details.
120
121   Globals imported from SNMP::Info::CiscoStats
122       See documentation in "GLOBALS" in SNMP::Info::CiscoStats for details.
123
124   Globals imported from SNMP::Info::CiscoImage
125       See documentation in "GLOBALS" in SNMP::Info::CiscoImage for details.
126

TABLE METHODS

128       These are methods that return tables of information in the form of a
129       reference to a hash.
130
131   Overrides
132       $c3550->i_duplex()
133           Returns reference to hash of iid to current link duplex setting.
134
135           Software version 12.1(22)EA1a or greater returns duplex based upon
136           the result of $c3550->el_duplex().  Otherwise it uses the result of
137           the call to CiscoStack::i_duplex().
138
139           See SNMP::Info::Etherlike for el_duplex() method and
140           SNMP::Info::CiscoStack for its i_duplex() method.
141
142       $c3550->i_duplex_admin()
143           Returns reference to hash of iid to administrative duplex setting.
144
145           Software version 12.1(22)EA1a or greater returns duplex based upon
146           the result of $c3550->p_duplex().  Otherwise it uses the result of
147           the call to CiscoStack::i_duplex().
148
149           See SNMP::Info::CiscoStack for its i_duplex() and p_duplex()
150           methods.
151
152       $c3550->set_i_duplex_admin(duplex, ifIndex)
153           Sets port duplex, must be supplied with duplex and port "ifIndex".
154
155           Speed choices are 'auto', 'half', 'full'.
156
157           Crosses $c3550->p_port() with $c3550->p_duplex() to utilize port
158           "ifIndex".
159
160               Example:
161               my %if_map = reverse %{$c3550->interfaces()};
162               $c3550->set_i_duplex_admin('auto', $if_map{'FastEthernet0/1'})
163                   or die "Couldn't change port duplex. ",$c3550->error(1);
164
165   Table Methods imported from SNMP::Info::Layer3
166       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
167
168   Table Methods imported from SNMP::Info::CiscoStpExtensions
169       See documentation in "TABLE METHODS" in SNMP::Info::CiscoStpExtensions
170       for details.
171
172   Table Methods imported from SNMP::Info::CiscoPower
173       See documentation in "TABLE METHODS" in SNMP::Info::CiscoPower for
174       details.
175
176   Table Methods imported from SNMP::Info::CiscoPortSecurity
177       See documentation in "TABLE METHODS" in SNMP::Info::CiscoPortSecurity
178       for details.
179
180   Table Methods imported from SNMP::Info::CiscoVTP
181       See documentation in "TABLE METHODS" in SNMP::Info::CiscoVTP for
182       details.
183
184   Table Methods imported from SNMP::Info::CiscoStack
185       See documentation in "TABLE METHODS" in SNMP::Info::CiscoStack for
186       details.
187
188   Table Methods imported from SNMP::Info::CDP
189       See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
190
191   Table Methods imported from SNMP::Info::CiscoStats
192       See documentation in "TABLE METHODS" in SNMP::Info::CiscoStats for
193       details.
194
195   Table Methods imported from SNMP::Info::CiscoImage
196       See documentation in "TABLE METHODS" in SNMP::Info::CiscoImage for
197       details.
198
199
200
201perl v5.12.0                      2009-06-12            Info::Layer3::C3550(3)
Impressum