1SNMP::Info::Layer2::CisUcsoe(r3)Contributed Perl DocumenStNaMtPi:o:nInfo::Layer2::Cisco(3)
2
3
4
6 SNMP::Info::Layer2::Cisco - SNMP Interface to L2 Cisco devices that are
7 not covered in other classes and the base L2 Cisco class for other
8 device specific L2 Cisco classes.
9
11 Max Baker
12
14 # Let SNMP::Info determine the correct subclass for you.
15 my $cisco = new SNMP::Info(
16 AutoSpecify => 1,
17 Debug => 1,
18 # These arguments are passed directly to SNMP::Session
19 DestHost => 'myswitch',
20 Community => 'public',
21 Version => 2
22 )
23 or die "Can't connect to DestHost.\n";
24
25 my $class = $cisco->class();
26 print "SNMP::Info determined this device to fall under subclass : $class\n";
27
29 Subclass for Generic Layer 2 Cisco devices and the base L2 Cisco class
30 for other device specific L2 Cisco classes.
31
32 Inherited Classes
33 SNMP::Info::CiscoVTP
34 SNMP::Info::CDP
35 SNMP::Info::CiscoStats
36 SNMP::Info::CiscoRTT
37 SNMP::Info::CiscoConfig
38 SNMP::Info::CiscoPortSecurity
39 SNMP::Info::CiscoStpExtensions
40 SNMP::Info::CiscoAgg
41 SNMP::Info::Layer2
42
43 Required MIBs
44 Inherited Classes' MIBs
45 See "Required MIBs" in SNMP::Info::CiscoVTP 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::CiscoStats 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::CiscoConfig for its own MIB
58 requirements.
59
60 See "Required MIBs" in SNMP::Info::CiscoPortSecurity for its own
61 MIB requirements.
62
63 See "Required MIBs" in SNMP::Info::CiscoStpExtensions for its own
64 MIB requirements.
65
66 See "Required MIBs" in SNMP::Info::CiscoAgg for its own MIB
67 requirements.
68
69 See "Required MIBs" in SNMP::Info::Layer2 for its own MIB
70 requirements.
71
73 These are methods that return scalar value from SNMP
74
75 $cisco->vendor()
76 Returns 'cisco'
77
78 Global Methods imported from SNMP::Info::CiscoVTP
79 See documentation in "GLOBALS" in SNMP::Info::CiscoVTP for details.
80
81 Globals imported from SNMP::Info::CDP
82 See documentation in "GLOBALS" in SNMP::Info::CDP for details.
83
84 Globals imported from SNMP::Info::CiscoStats
85 See documentation in "GLOBALS" in SNMP::Info::CiscoStats for details.
86
87 Globals imported from SNMP::Info::CiscoRTT
88 See documentation in "GLOBALS" in SNMP::Info::CiscoRTT 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::CiscoPortSecurity
94 See documentation in "GLOBALS" in SNMP::Info::CiscoPortSecurity for
95 details.
96
97 Globals imported from SNMP::Info::CiscoStpExtensions
98 See documentation in "GLOBALS" in SNMP::Info::CiscoStpExtensions for
99 details.
100
101 Globals imported from SNMP::Info::CiscoAgg
102 See documentation in "GLOBALS" in SNMP::Info::CiscoAgg for details.
103
104 Globals imported from SNMP::Info::Layer2
105 See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
106
108 These are methods that return tables of information in the form of a
109 reference to a hash.
110
111 Table Methods imported from SNMP::Info::CiscoVTP
112 See documentation in "TABLE METHODS" in SNMP::Info::CiscoVTP for
113 details.
114
115 Table Methods imported from SNMP::Info::CDP
116 See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
117
118 Table Methods imported from SNMP::Info::CiscoStats
119 See documentation in "TABLE METHODS" in SNMP::Info::CiscoStats for
120 details.
121
122 Table Methods imported from SNMP::Info::CiscoRTT
123 See documentation in "TABLE METHODS" in SNMP::Info::CiscoRTT for
124 details.
125
126 Table Methods imported from SNMP::Info::CiscoConfig
127 See documentation in "TABLE METHODS" in SNMP::Info::CiscoConfig for
128 details.
129
130 Table Methods imported from SNMP::Info::CiscoPortSecurity
131 See documentation in "TABLE METHODS" in SNMP::Info::CiscoPortSecurity
132 for details.
133
134 Table Methods imported from SNMP::Info::CiscoStpExtensions
135 See documentation in "TABLE METHODS" in SNMP::Info::CiscoStpExtensions
136 for details.
137
138 Table Methods imported from SNMP::Info::CiscoAgg
139 See documentation in "TABLE METHODS" in SNMP::Info::CiscoAgg for
140 details.
141
142 Table Methods imported from SNMP::Info::Layer2
143 See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
144
145
146
147perl v5.28.1 2019-04-04 SNMP::Info::Layer2::Cisco(3)