1Info::Layer3::Cisco(3)User Contributed Perl DocumentationInfo::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.
8
10 Max Baker
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $cisco = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 # These arguments are passed directly to SNMP::Session
18 DestHost => 'myswitch',
19 Community => 'public',
20 Version => 2
21 )
22 or die "Can't connect to DestHost.\n";
23
24 my $class = $cisco->class();
25 print "SNMP::Info determined this device to fall under subclass : $class\n";
26
28 Subclass for Generic Cisco Routers running IOS
29
30 Inherited Classes
31 SNMP::Info::CiscoVTP
32 SNMP::Info::CDP
33 SNMP::Info::CiscoStats
34 SNMP::Info::CiscoImage
35 SNMP::Info::CiscoRTT
36 SNMP::Info::CiscoQOS
37 SNMP::Info::CiscoConfig
38 SNMP::Info::Power
39 SNMP::Info::Layer3
40
41 Required MIBs
42 CISCO-EIGRP-MIB
43 Inherited Classes' MIBs
44 See "Required MIBs" in SNMP::Info::CiscoVTP for its own MIB
45 requirements.
46
47 See "Required MIBs" in SNMP::Info::CDP for its own MIB
48 requirements.
49
50 See "Required MIBs" in SNMP::Info::CiscoStats for its own MIB
51 requirements.
52
53 See "Required MIBs" in SNMP::Info::CiscoImage for its own MIB
54 requirements.
55
56 See "Required MIBs" in SNMP::Info::CiscoRTT for its own MIB
57 requirements.
58
59 See "Required MIBs" in SNMP::Info::CiscoQOS for its own MIB
60 requirements.
61
62 See "Required MIBs" in SNMP::Info::CiscoConfig for its own MIB
63 requirements.
64
65 See "Required MIBs" in SNMP::Info::CiscoPower for its own MIB
66 requirements.
67
68 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
69 requirements.
70
72 These are methods that return scalar value from SNMP
73
74 $cisco->vendor()
75 Returns 'cisco'
76
77 $cisco->eigrp_id()
78 ("cEigrpAsRouterId")
79
80 Global Methods imported from SNMP::Info::CiscoVTP
81 See documentation in "GLOBALS" in SNMP::Info::CiscoVTP for details.
82
83 Globals imported from SNMP::Info::CDP
84 See documentation in "GLOBALS" in SNMP::Info::CDP for details.
85
86 Globals imported from SNMP::Info::CiscoStats
87 See documentation in "GLOBALS" in SNMP::Info::CiscoStats for details.
88
89 Globals imported from SNMP::Info::CiscoImage
90 See documentation in "GLOBALS" in SNMP::Info::CiscoImage 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::Layer3
105 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
106
108 These are methods that return tables of information in the form of a
109 reference to a hash.
110
111 $cisco->eigrp_peers()
112 Returns EIGRP peer IP addresses
113
114 ("cEigrpPeerAddr")
115
116 $cisco->i_vlan()
117 Returns a mapping between "ifIndex" and the PVID or default VLAN.
118
119 Table Methods imported from SNMP::Info::CiscoVTP
120 See documentation in "TABLE METHODS" in SNMP::Info::CiscoVTP for
121 details.
122
123 Table Methods imported from SNMP::Info::CDP
124 See documentation in "TABLE METHODS" in SNMP::Info::CDP for details.
125
126 Table Methods imported from SNMP::Info::CiscoStats
127 See documentation in "TABLE METHODS" in SNMP::Info::CiscoStats for
128 details.
129
130 Table Methods imported from SNMP::Info::CiscoImage
131 See documentation in "TABLE METHODS" in SNMP::Info::CiscoImage 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::Layer3
151 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
152
153
154
155perl v5.12.0 2009-06-12 Info::Layer3::Cisco(3)