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::Layer2
102 See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
103
105 These are methods that return tables of information in the form of a
106 reference to a hash.
107
108 Table Methods imported from SNMP::Info::CiscoVTP
109 See documentation in "TABLE METHODS" in SNMP::Info::CiscoVTP for
110 details.
111
112 Table Methods imported from SNMP::Info::CDP
113 See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
114
115 Table Methods imported from SNMP::Info::CiscoStats
116 See documentation in "TABLE METHODS" in SNMP::Info::CiscoStats for
117 details.
118
119 Table Methods imported from SNMP::Info::CiscoRTT
120 See documentation in "TABLE METHODS" in SNMP::Info::CiscoRTT 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::CiscoPortSecurity
128 See documentation in "TABLE METHODS" in SNMP::Info::CiscoPortSecurity
129 for details.
130
131 Table Methods imported from SNMP::Info::CiscoStpExtensions
132 See documentation in "TABLE METHODS" in SNMP::Info::CiscoStpExtensions
133 for details.
134
135 Table Methods imported from SNMP::Info::CiscoAgg
136 See documentation in "TABLE METHODS" in SNMP::Info::CiscoAgg for
137 details.
138
139 Table Methods imported from SNMP::Info::Layer2
140 See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
141
142
143
144perl v5.36.1 2023-07-17 SNMP::Info::Layer2::Cisco(3)