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::CDP
33 SNMP::Info::CiscoConfig
34 SNMP::Info::CiscoStats
35 SNMP::Info::Entity
36 SNMP::Info::EtherLike
37 SNMP::Info::Layer2
38
39 Required MIBs
40 Inherited Classes
41 MIBs required by the inherited classes listed above.
42
44 These are methods that return scalar value from SNMP.
45
46 $ciscosb->os_ver()
47 Returns software version ("entPhysicalSoftwareRev")
48
49 $ciscosb->serial()
50 Returns serial number of unit ("entPhysicalSerialNum")
51
52 $ciscosb->model()
53 Returns model and hardware revision of unit
54 ("entPhysicalModelName+entPhysicalHardwareRev")
55
56 Overrides
57 $ciscosb->vendor()
58 Returns 'cisco'.
59
60 $ciscosb->os()
61 Returns 'ros'.
62
63 Globals imported from SNMP::Info::Layer2
64 See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
65
66 Globals imported from SNMP::Info::Entity
67 See documentation in "GLOBALS" in SNMP::Info::Entity for details.
68
69 Globals imported from SNMP::Info::EtherLike
70 See documentation in "GLOBALS" in SNMP::Info::EtherLike for details.
71
73 Overrides
74 $ciscosb->interfaces()
75 Uses the i_name() field.
76
77 Table Methods imported from SNMP::Info::Layer2
78 See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
79
80 Table Methods imported from SNMP::Info::Entity
81 See documentation in "TABLE METHODS" in SNMP::Info::Entity for details.
82
83 Table Methods imported from SNMP::Info::EtherLike
84 See documentation in "TABLE METHODS" in SNMP::Info::EtherLike for
85 details.
86
87
88
89perl v5.28.1 2019-04-04 SNMP::Info::Layer2::CiscoSB(3)