1SNMP::Info::Layer3::CisUcsoe(r3)Contributed Perl DocumenStNaMtPi:o:nInfo::Layer3::Cisco(3)
2
3
4
6 SNMP::Info::Layer3::Cisco - SNMP Interface to L3 and L2+L3 IOS Cisco
7 Device that are not covered in other classes and the base L3 Cisco
8 class for other device specific L3 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 Cisco Routers running IOS and the base L3 Cisco
30 class for other device specific L3 Cisco classes.
31
32 Inherited Classes
33 SNMP::Info::CiscoVTP
34 SNMP::Info::LLDP
35 SNMP::Info::CDP
36 SNMP::Info::CiscoStats
37 SNMP::Info::CiscoRTT
38 SNMP::Info::CiscoQOS
39 SNMP::Info::CiscoConfig
40 SNMP::Info::Power
41 SNMP::Info::CiscoStpExtensions
42 SNMP::Info::Layer3
43
44 Required MIBs
45 CISCO-EIGRP-MIB
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::LLDP for its own MIB
51 requirements.
52
53 See "Required MIBs" in SNMP::Info::CDP for its own MIB
54 requirements.
55
56 See "Required MIBs" in SNMP::Info::CiscoStats for its own MIB
57 requirements.
58
59 See "Required MIBs" in SNMP::Info::CiscoRTT for its own MIB
60 requirements.
61
62 See "Required MIBs" in SNMP::Info::CiscoQOS for its own MIB
63 requirements.
64
65 See "Required MIBs" in SNMP::Info::CiscoConfig for its own MIB
66 requirements.
67
68 See "Required MIBs" in SNMP::Info::CiscoPower for its own MIB
69 requirements.
70
71 See "Required MIBs" in SNMP::Info::CiscoStpExtensions for its own
72 MIB requirements.
73
74 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
75 requirements.
76
78 These are methods that return scalar value from SNMP
79
80 $cisco->eigrp_id()
81 ("cEigrpAsRouterId")
82
83 $switch->cisco_comm_indexing()
84 Returns 1 when the device is likely to need vlan indexing.
85 Determined by checking "vtpVersion".
86
87 Global Methods imported from SNMP::Info::CiscoVTP
88 See documentation in "GLOBALS" in SNMP::Info::CiscoVTP for details.
89
90 Globals imported from SNMP::Info::LLDP
91 See documentation in "GLOBALS" in SNMP::Info::LLDP for details.
92
93 Globals imported from SNMP::Info::CDP
94 See documentation in "GLOBALS" in SNMP::Info::CDP for details.
95
96 Globals imported from SNMP::Info::CiscoStats
97 See documentation in "GLOBALS" in SNMP::Info::CiscoStats for details.
98
99 Globals imported from SNMP::Info::CiscoRTT
100 See documentation in "GLOBALS" in SNMP::Info::CiscoRTT for details.
101
102 Globals imported from SNMP::Info::CiscoQOS
103 See documentation in "GLOBALS" in SNMP::Info::CiscoQOS for details.
104
105 Globals imported from SNMP::Info::CiscoConfig
106 See documentation in "GLOBALS" in SNMP::Info::CiscoConfig for details.
107
108 Globals imported from SNMP::Info::CiscoPower
109 See documentation in "GLOBALS" in SNMP::Info::CiscoPower for details.
110
111 Globals imported from SNMP::Info::CiscoStpExtensions
112 See documentation in "GLOBALS" in SNMP::Info::CiscoStpExtensions for
113 details.
114
115 Globals imported from SNMP::Info::Layer3
116 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
117
119 These are methods that return tables of information in the form of a
120 reference to a hash.
121
122 $cisco->eigrp_peers()
123 Returns EIGRP peer IP addresses
124
125 ("cEigrpPeerAddr")
126
127 $cisco->i_vlan()
128 Returns a mapping between "ifIndex" and the PVID or default VLAN.
129
130 Table Methods imported from SNMP::Info::CiscoVTP
131 See documentation in "TABLE METHODS" in SNMP::Info::CiscoVTP for
132 details.
133
134 Table Methods imported from SNMP::Info::LLDP
135 See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
136
137 Table Methods imported from SNMP::Info::CDP
138 See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
139
140 Table Methods imported from SNMP::Info::CiscoStats
141 See documentation in "TABLE METHODS" in SNMP::Info::CiscoStats for
142 details.
143
144 Table Methods imported from SNMP::Info::CiscoRTT
145 See documentation in "TABLE METHODS" in SNMP::Info::CiscoRTT for
146 details.
147
148 Table Methods imported from SNMP::Info::CiscoQOS
149 See documentation in "TABLE METHODS" in SNMP::Info::CiscoQOS for
150 details.
151
152 Table Methods imported from SNMP::Info::CiscoConfig
153 See documentation in "TABLE METHODS" in SNMP::Info::CiscoConfig for
154 details.
155
156 Table Methods imported from SNMP::Info::CiscoPower
157 See documentation in "TABLE METHODS" in SNMP::Info::CiscoPower for
158 details.
159
160 Table Methods imported from SNMP::Info::CiscoStpExtensions
161 See documentation in "TABLE METHODS" in SNMP::Info::CiscoStpExtensions
162 for details.
163
164 Table Methods imported from SNMP::Info::Layer3
165 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
166
167
168
169perl v5.28.0 2018-11-29 SNMP::Info::Layer3::Cisco(3)