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

NAME

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

AUTHOR

10       Bill Fenner
11

SYNOPSIS

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

DESCRIPTION

28       Abstraction subclass for Cisco Catalyst 4000 Layer 2/3 Switches.
29
30       For speed or debugging purposes you can call the subclass directly, but
31       not after determining a more specific class using the method above.
32
33        my $c4000 = new SNMP::Info::Layer3::C4000(...);
34
35   Inherited Classes
36       SNMP::Info::CiscoVTP
37       SNMP::Info::CDP
38       SNMP::Info::CiscoStats
39       SNMP::Info::CiscoImage
40       SNMP::Info::CiscoPortSecurity
41       SNMP::Info::CiscoConfig
42       SNMP::Info::MAU
43       SNMP::Info::Layer3
44
45   Required MIBs
46       Inherited Classes' MIBs
47           See "Required MIBs" in SNMP::Info::CiscoVTP for its own MIB
48           requirements.
49
50           See "Required MIBs" in SNMP::Info::CDP for its own MIB
51           requirements.
52
53           See "Required MIBs" in SNMP::Info::CiscoStats for its own MIB
54           requirements.
55
56           See "Required MIBs" in SNMP::Info::CiscoImage for its own MIB
57           requirements.
58
59           See "Required MIBs" in SNMP::Info::CiscoPortSecurity for its own
60           MIB requirements.
61
62           See "Required MIBs" in SNMP::Info::CiscoConfig for its own MIB
63           requirements.
64
65           See "Required MIBs" in SNMP::Info::MAU for its own MIB
66           requirements.
67
68           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
69           requirements.
70

GLOBALS

72       These are methods that return scalar value from SNMP
73
74   Overrides
75       $c4000->cisco_comm_indexing()
76           Returns 1.  Use vlan indexing.
77
78       $c4000->fan()
79           Returns fan status
80
81   Global Methods imported from SNMP::Info::CiscoVTP
82       See documentation in "GLOBALS" in SNMP::Info::CiscoVTP for details.
83
84   Globals imported from SNMP::Info::CDP
85       See documentation in "GLOBALS" in SNMP::Info::CDP for details.
86
87   Globals imported from SNMP::Info::CiscoStats
88       See documentation in "GLOBALS" in SNMP::Info::CiscoStats for details.
89
90   Globals imported from SNMP::Info::CiscoImage
91       See documentation in "GLOBALS" in SNMP::Info::CiscoImage for details.
92
93   Globals imported from SNMP::Info::CiscoPortSecurity
94       See documentation in "GLOBALS" in SNMP::Info::CiscoPortSecurity for
95       details.
96
97   Globals imported from SNMP::Info::CiscoConfig
98       See documentation in "GLOBALS" in SNMP::Info::CiscoConfig for details.
99
100   Globals imported from SNMP::Info::MAU
101       See documentation in "GLOBALS" in SNMP::Info::MAU for details.
102
103   Globals imported from SNMP::Info::Layer3
104       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
105

TABLE METHODS

107       These are methods that return tables of information in the form of a
108       reference to a hash.
109
110   Overrides
111       $c4000->i_duplex()
112           Parses mau_index and mau_link to return the duplex information for
113           interfaces.
114
115       $c4000->i_duplex_admin()
116           Parses "mac_index","mau_autostat","mau_type_admin" in order to find
117           the admin duplex setting for all the interfaces.
118
119           Returns either (auto,full,half).
120
121       $c4000->i_speed_admin()
122           Returns administrative speed for interfaces.
123
124   Table Methods imported from SNMP::Info::CiscoVTP
125       See documentation in "TABLE METHODS" in SNMP::Info::CiscoVTP for
126       details.
127
128   Table Methods imported from SNMP::Info::CDP
129       See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
130
131   Table Methods imported from SNMP::Info::CiscoStats
132       See documentation in "TABLE METHODS" in SNMP::Info::CiscoStats for
133       details.
134
135   Table Methods imported from SNMP::Info::CiscoImage
136       See documentation in "TABLE METHODS" in SNMP::Info::CiscoImage for
137       details.
138
139   Table Methods imported from SNMP::Info::CiscoPortSecurity
140       See documentation in "TABLE METHODS" in SNMP::Info::CiscoPortSecurity
141       for details.
142
143   Table Methods imported from SNMP::Info::CiscoConfig
144       See documentation in "TABLE METHODS" in SNMP::Info::CiscoConfig for
145       details.
146
147   Table Methods imported from SNMP::Info::MAU
148       See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
149
150   Table Methods imported from SNMP::Info::Layer3
151       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
152
153
154
155perl v5.12.0                      2009-06-12            Info::Layer3::C4000(3)
Impressum