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::CDP
35 SNMP::Info::CiscoStats
36 SNMP::Info::CiscoRTT
37 SNMP::Info::CiscoQOS
38 SNMP::Info::CiscoConfig
39 SNMP::Info::CiscoPower
40 SNMP::Info::CiscoStpExtensions
41 SNMP::Info::Layer3
42
43 Required MIBs
44 CISCO-EIGRP-MIB
45 Inherited Classes' MIBs
46 See "Required MIBs" in SNMP::Info::CiscoVTP for its own MIB
47 requirements.
48
49 See "Required MIBs" in SNMP::Info::CDP for its own MIB
50 requirements.
51
52 See "Required MIBs" in SNMP::Info::CiscoStats for its own MIB
53 requirements.
54
55 See "Required MIBs" in SNMP::Info::CiscoRTT for its own MIB
56 requirements.
57
58 See "Required MIBs" in SNMP::Info::CiscoQOS for its own MIB
59 requirements.
60
61 See "Required MIBs" in SNMP::Info::CiscoConfig for its own MIB
62 requirements.
63
64 See "Required MIBs" in SNMP::Info::CiscoPower for its own MIB
65 requirements.
66
67 See "Required MIBs" in SNMP::Info::CiscoStpExtensions for its own
68 MIB requirements.
69
70 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
71 requirements.
72
74 These are methods that return scalar value from SNMP
75
76 $cisco->eigrp_id()
77 ("cEigrpAsRouterId")
78
79 $switch->cisco_comm_indexing()
80 Returns 1 when the device is likely to need vlan indexing.
81 Determined by checking "vtpVersion".
82
83 Global Methods imported from SNMP::Info::CiscoVTP
84 See documentation in "GLOBALS" in SNMP::Info::CiscoVTP for details.
85
86 Globals imported from SNMP::Info::CDP
87 See documentation in "GLOBALS" in SNMP::Info::CDP for details.
88
89 Globals imported from SNMP::Info::CiscoStats
90 See documentation in "GLOBALS" in SNMP::Info::CiscoStats for details.
91
92 Globals imported from SNMP::Info::CiscoRTT
93 See documentation in "GLOBALS" in SNMP::Info::CiscoRTT for details.
94
95 Globals imported from SNMP::Info::CiscoQOS
96 See documentation in "GLOBALS" in SNMP::Info::CiscoQOS for details.
97
98 Globals imported from SNMP::Info::CiscoConfig
99 See documentation in "GLOBALS" in SNMP::Info::CiscoConfig for details.
100
101 Globals imported from SNMP::Info::CiscoPower
102 See documentation in "GLOBALS" in SNMP::Info::CiscoPower for details.
103
104 Globals imported from SNMP::Info::CiscoStpExtensions
105 See documentation in "GLOBALS" in SNMP::Info::CiscoStpExtensions for
106 details.
107
108 Globals imported from SNMP::Info::Layer3
109 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
110
112 These are methods that return tables of information in the form of a
113 reference to a hash.
114
115 $cisco->eigrp_peers()
116 Returns EIGRP peer IP addresses
117
118 ("cEigrpPeerAddr")
119
120 $cisco->i_vlan()
121 Returns a mapping between "ifIndex" and the PVID or default VLAN.
122
123 Table Methods imported from SNMP::Info::CiscoVTP
124 See documentation in "TABLE METHODS" in SNMP::Info::CiscoVTP for
125 details.
126
127 Table Methods imported from SNMP::Info::CDP
128 See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
129
130 Table Methods imported from SNMP::Info::CiscoStats
131 See documentation in "TABLE METHODS" in SNMP::Info::CiscoStats for
132 details.
133
134 Table Methods imported from SNMP::Info::CiscoRTT
135 See documentation in "TABLE METHODS" in SNMP::Info::CiscoRTT for
136 details.
137
138 Table Methods imported from SNMP::Info::CiscoQOS
139 See documentation in "TABLE METHODS" in SNMP::Info::CiscoQOS for
140 details.
141
142 Table Methods imported from SNMP::Info::CiscoConfig
143 See documentation in "TABLE METHODS" in SNMP::Info::CiscoConfig for
144 details.
145
146 Table Methods imported from SNMP::Info::CiscoPower
147 See documentation in "TABLE METHODS" in SNMP::Info::CiscoPower for
148 details.
149
150 Table Methods imported from SNMP::Info::CiscoStpExtensions
151 See documentation in "TABLE METHODS" in SNMP::Info::CiscoStpExtensions
152 for details.
153
154 Table Methods imported from SNMP::Info::Layer3
155 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
156
157
158
159perl v5.36.1 2023-07-17 SNMP::Info::Layer3::Cisco(3)