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

NAME

6       SNMP::Info::Layer3::C6500 - SNMP Interface to Cisco Catalyst 6500 Layer
7       2/3 Switches running IOS and/or CatOS
8

AUTHOR

10       Max Baker
11

SYNOPSIS

13        # Let SNMP::Info determine the correct subclass for you.
14        my $c6500 = 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      = $c6500->class();
25        print "SNMP::Info determined this device to fall under subclass : $class\n";
26

DESCRIPTION

28       Abstraction subclass for Cisco Catalyst 6500 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). For example, forwarding tables are held in
32       VLANs, and extended interface information is gleaned from CISCO-SWITCH-
33       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 $c6500 = new SNMP::Info::Layer3::C6500(...);
39
40   Inherited Classes
41       SNMP::Info::CiscoVTP
42       SNMP::Info::CiscoStack
43       SNMP::Info::CDP
44       SNMP::Info::CiscoStats
45       SNMP::Info::CiscoImage
46       SNMP::Info::CiscoPortSecurity
47       SNMP::Info::CiscoConfig
48       SNMP::Info::CiscoPower
49       SNMP::Info::Layer3
50       SNMP::Info::CiscoStpExtensions
51
52   Required MIBs
53       Inherited Classes' MIBs
54           See "Required MIBs" in SNMP::Info::CiscoVTP for its own MIB
55           requirements.
56
57           See "Required MIBs" in SNMP::Info::CiscoStack for its own MIB
58           requirements.
59
60           See "Required MIBs" in SNMP::Info::CDP for its own MIB
61           requirements.
62
63           See "Required MIBs" in SNMP::Info::CiscoStats for its own MIB
64           requirements.
65
66           See "Required MIBs" in SNMP::Info::CiscoImage for its own MIB
67           requirements.
68
69           See "Required MIBs" in SNMP::Info::CiscoPortSecurity for its own
70           MIB requirements.
71
72           See "Required MIBs" in SNMP::Info::CiscoConfig for its own MIB
73           requirements.
74
75           See "Required MIBs" in SNMP::Info::CiscoPower for its own MIB
76           requirements.
77
78           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
79           requirements.
80
81           See "Required MIBs" in SNMP::Info::CiscoStpExtensions for its own
82           MIB requirements.
83

GLOBALS

85       These are methods that return scalar value from SNMP
86
87       $c6500->vendor()
88               Returns 'cisco'
89
90       $c6500->cisco_comm_indexing()
91           Returns 1.  Use vlan indexing.
92
93   Global Methods imported from SNMP::Info::CiscoVTP
94       See documentation in "GLOBALS" in SNMP::Info::CiscoVTP for details.
95
96   Global Methods imported from SNMP::Info::CiscoStack
97       See documentation in "GLOBALS" in SNMP::Info::CiscoStack for details.
98
99   Globals imported from SNMP::Info::CDP
100       See documentation in "GLOBALS" in SNMP::Info::CDP for details.
101
102   Globals imported from SNMP::Info::CiscoStats
103       See documentation in "GLOBALS" in SNMP::Info::CiscoStats for details.
104
105   Globals imported from SNMP::Info::CiscoImage
106       See documentation in "GLOBALS" in SNMP::Info::CiscoImage for details.
107
108   Globals imported from SNMP::Info::CiscoPortSecurity
109       See documentation in "GLOBALS" in SNMP::Info::CiscoPortSecurity for
110       details.
111
112   Globals imported from SNMP::Info::CiscoConfig
113       See documentation in "GLOBALS" in SNMP::Info::CiscoConfig for details.
114
115   Globals imported from SNMP::Info::CiscoPower
116       See documentation in "GLOBALS" in SNMP::Info::CiscoPower for details.
117
118   Globals imported from SNMP::Info::Layer3
119       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
120
121   Globals imported from SNMP::Info::CiscoStpExtensions
122       See documentation in "GLOBALS" in SNMP::Info::CiscoStpExtensions for
123       details.
124

TABLE METHODS

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