1SNMP::Info::Layer3::CisUcsoeSrwiCtocnht(r3i)buted Perl DSoNcMuPm:e:nItnaftoi:o:nLayer3::CiscoSwitch(3)
2
3
4
6 SNMP::Info::Layer3::CiscoSwitch - Base class for L3 Cisco switches
7
9 Eric Miller
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $switch = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 # These arguments are passed directly to SNMP::Session
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $switch->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Base subclass for Cisco Layer 2/3 Switches.
28
29 These devices have switch specific characteristics beyond those in
30 traditional routers covered by SNMP::Info::Layer3::Cisco. For example,
31 port security interface information from SNMP::Info::CiscoPortSecurity.
32
33 For speed or debugging purposes you can call the subclass directly, but
34 not after determining a more specific class using the method above.
35
36 my $swich = new SNMP::Info::Layer3::CiscoSwitch(...);
37
38 Inherited Classes
39 SNMP::Info::CiscoAgg
40 SNMP::Info::CiscoPortSecurity
41 SNMP::Info::Layer3::Cisco
42
43 Required MIBs
44 Inherited Classes' MIBs
45 See "Required MIBs" in SNMP::Info::CiscoAgg for its own MIB
46 requirements.
47
48 See "Required MIBs" in SNMP::Info::CiscoPortSecurity for its own
49 MIB requirements.
50
51 See "Required MIBs" in SNMP::Info::Layer3::Cisco for its own MIB
52 requirements.
53
55 These are methods that return scalar value from SNMP
56
57 $switch->cisco_comm_indexing()
58 Returns 1. Use vlan indexing.
59
60 Global Methods imported from SNMP::Info::CiscoAgg
61 See documentation in "GLOBALS" in SNMP::Info::CiscoAgg for details.
62
63 Globals imported from SNMP::Info::CiscoPortSecurity
64 See documentation in "GLOBALS" in SNMP::Info::CiscoPortSecurity for
65 details.
66
67 Globals imported from SNMP::Info::Layer3::Cisco
68 See documentation in "GLOBALS" in SNMP::Info::Layer3::Cisco for
69 details.
70
72 These are methods that return tables of information in the form of a
73 reference to a hash.
74
75 Table Methods imported from SNMP::Info::CiscoAgg
76 See documentation in "TABLE METHODS" in SNMP::Info::CiscoAgg for
77 details.
78
79 Table Methods imported from SNMP::Info::CiscoPortSecurity
80 See documentation in "TABLE METHODS" in SNMP::Info::CiscoPortSecurity
81 for details.
82
83 Table Methods imported from SNMP::Info::Layer3::Cisco
84 See documentation in "TABLE METHODS" in SNMP::Info::Layer3::Cisco for
85 details.
86
87
88
89perl v5.28.0 2018-11-29SNMP::Info::Layer3::CiscoSwitch(3)