1SNMP::Info::Layer2::CisUcsoeSrB(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer2::CiscoSB(3)
2
3
4
6 SNMP::Info::Layer2::CiscoSB - SNMP Interface to Cisco Small Business
7 series
8
10 Nic Bernstein (shamelessly stolen from Max Baker's Aironet code)
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $ciscosb = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $ciscosb->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Provides interface to SNMP Data available on Cisco Small Business (nee
28 LinkSys) managed switches. [i.e. those matching
29 enterprises(1).cisco(9).otherEnterprises(6).ciscosb(1)]
30
31 Inherited Classes
32 SNMP::Info::Layer2
33 SNMP::Info::Entity
34 SNMP::Info::EtherLike
35 SNMP::Info::CiscoStats
36 SNMP::Info::CiscoConfig
37
38 Required MIBs
39 Inherited Classes
40 MIBs required by the inherited classes listed above.
41
43 These are methods that return scalar value from SNMP
44
45 $ciscosb->vendor()
46 Returns 'cisco'
47
48 $ciscosb->os()
49 Returns 'ros'
50
51 $ciscosb->os_ver()
52 Returns software version ("entPhysicalSoftwareRev")
53
54 $ciscosb->serial()
55 Returns serial number of unit ("entPhysicalSerialNum")
56
57 $ciscosb->model()
58 Returns model and hardware revision of unit
59 ("entPhysicalModelName+entPhysicalHardwareRev")
60
61 Globals imported from SNMP::Info::Layer2
62 See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
63
64 Globals imported from SNMP::Info::Entity
65 See documentation in "GLOBALS" in SNMP::Info::Entity for details.
66
67 Globals imported from SNMP::Info::EtherLike
68 See documentation in "GLOBALS" in SNMP::Info::EtherLike for details.
69
71 Overrides
72 $ciscosb->interfaces()
73 Uses the i_name() field.
74
75 Table Methods imported from SNMP::Info::Layer2
76 See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
77
78 Table Methods imported from SNMP::Info::Entity
79 See documentation in "TABLE METHODS" in SNMP::Info::Entity for details.
80
81 Table Methods imported from SNMP::Info::EtherLike
82 See documentation in "TABLE METHODS" in SNMP::Info::EtherLike for
83 details.
84
85
86
87perl v5.28.0 2018-11-29 SNMP::Info::Layer2::CiscoSB(3)