1Info::Layer2::Cisco(3)User Contributed Perl DocumentationInfo::Layer2::Cisco(3)
2
3
4
6 SNMP::Info::Layer2::Cisco - SNMP Interface to L3 and L2+L3 IOS Cisco
7 Device that are not covered in other classes.
8
10 Max Baker
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $cisco = 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 = $cisco->class();
25 print "SNMP::Info determined this device to fall under subclass : $class\n";
26
28 Subclass for Generic Cisco Routers running IOS
29
30 Inherited Classes
31 SNMP::Info::CiscoVTP
32 SNMP::Info::CDP
33 SNMP::Info::CiscoStats
34 SNMP::Info::CiscoImage
35 SNMP::Info::CiscoRTT
36 SNMP::Info::CiscoQOS
37 SNMP::Info::CiscoConfig
38 SNMP::Info::Layer2
39
40 Required MIBs
41 Inherited Classes' MIBs
42 See "Required MIBs" in SNMP::Info::CiscoVTP for its own MIB
43 requirements.
44
45 See "Required MIBs" in SNMP::Info::CiscoStats for its own MIB
46 requirements.
47
48 See "Required MIBs" in SNMP::Info::CDP for its own MIB
49 requirements.
50
51 See "Required MIBs" in SNMP::Info::CiscoImage for its own MIB
52 requirements.
53
54 See "Required MIBs" in SNMP::Info::CiscoRTT for its own MIB
55 requirements.
56
57 See "Required MIBs" in SNMP::Info::CiscoQOS for its own MIB
58 requirements.
59
60 See "Required MIBs" in SNMP::Info::CiscoConfig for its own MIB
61 requirements.
62
63 See "Required MIBs" in SNMP::Info::Layer2 for its own MIB
64 requirements.
65
67 These are methods that return scalar value from SNMP
68
69 $cisco->vendor()
70 Returns 'cisco'
71
72 Global Methods imported from SNMP::Info::CiscoVTP
73 See documentation in "GLOBALS" in SNMP::Info::CiscoVTP for details.
74
75 Globals imported from SNMP::Info::CDP
76 See documentation in "GLOBALS" in SNMP::Info::CDP for details.
77
78 Globals imported from SNMP::Info::CiscoStats
79 See documentation in "GLOBALS" in SNMP::Info::CiscoStats for details.
80
81 Globals imported from SNMP::Info::CiscoImage
82 See documentation in "GLOBALS" in SNMP::Info::CiscoImage for details.
83
84 Globals imported from SNMP::Info::CiscoRTT
85 See documentation in "GLOBALS" in SNMP::Info::CiscoRTT for details.
86
87 Globals imported from SNMP::Info::CiscoQOS
88 See documentation in "GLOBALS" in SNMP::Info::CiscoQOS for details.
89
90 Globals imported from SNMP::Info::CiscoConfig
91 See documentation in "GLOBALS" in SNMP::Info::CiscoConfig for details.
92
93 Globals imported from SNMP::Info::Layer2
94 See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
95
97 These are methods that return tables of information in the form of a
98 reference to a hash.
99
100 Table Methods imported from SNMP::Info::CiscoVTP
101 See documentation in "TABLE METHODS" in SNMP::Info::CiscoVTP for
102 details.
103
104 Table Methods imported from SNMP::Info::CDP
105 See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
106
107 Table Methods imported from SNMP::Info::CiscoStats
108 See documentation in "TABLE METHODS" in SNMP::Info::CiscoStats for
109 details.
110
111 Table Methods imported from SNMP::Info::CiscoImage
112 See documentation in "TABLE METHODS" in SNMP::Info::CiscoImage for
113 details.
114
115 Table Methods imported from SNMP::Info::CiscoRTT
116 See documentation in "TABLE METHODS" in SNMP::Info::CiscoRTT for
117 details.
118
119 Table Methods imported from SNMP::Info::CiscoQOS
120 See documentation in "TABLE METHODS" in SNMP::Info::CiscoQOS for
121 details.
122
123 Table Methods imported from SNMP::Info::CiscoConfig
124 See documentation in "TABLE METHODS" in SNMP::Info::CiscoConfig for
125 details.
126
127 Table Methods imported from SNMP::Info::Layer2
128 See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
129
130
131
132perl v5.12.0 2009-06-12 Info::Layer2::Cisco(3)