1SNMP::Info::Layer2::CisUcsoeSrB(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer2::CiscoSB(3)
2
3
4

NAME

6       SNMP::Info::Layer2::CiscoSB - SNMP Interface to Cisco Small Business
7       series
8

AUTHOR

10       Nic Bernstein (shamelessly stolen from Max Baker's Aironet code)
11

SYNOPSIS

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

DESCRIPTION

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::EtherLike
36       SNMP::Info::Layer2
37
38   Required MIBs
39       CISCOSB-DEVICEPARAMS-MIB
40       CISCOSB-POE-MIB
41       Inherited Classes
42           MIBs required by the inherited classes listed above.
43

GLOBALS

45       These are methods that return scalar value from SNMP.
46
47       $ciscosb->mac()
48           Returns mac from ("rndBasePhysicalAddress")
49
50       $ciscosb->os_ver()
51           Returns software version ("entPhysicalSoftwareRev")
52
53       $ciscosb->serial()
54           Returns serial number of unit ("entPhysicalSerialNum")
55
56       $ciscosb->model()
57           Returns model and hardware revision of unit
58           ("entPhysicalModelName+entPhysicalHardwareRev")
59
60   Overrides
61       $ciscosb->vendor()
62           Returns 'cisco'.
63
64       $ciscosb->os()
65           Returns 'ros'.
66
67   Globals imported from SNMP::Info::Layer2
68       See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
69
70   Globals imported from SNMP::Info::EtherLike
71       See documentation in "GLOBALS" in SNMP::Info::EtherLike for details.
72

TABLE METHODS

74       $ciscosb->peth_port_power()
75           Power supplied by PoE ports, in milliwatts.
76           ("rlPethPsePortOutputPower")
77
78       $ciscosb->i_duplex()
79           Return duplex based upon the result of EtherLike->el_duplex().
80
81   Overrides
82       $ciscosb->interfaces()
83           Uses the i_name() field.
84
85   Table Methods imported from SNMP::Info::Layer2
86       See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
87
88   Table Methods imported from SNMP::Info::EtherLike
89       See documentation in "TABLE METHODS" in SNMP::Info::EtherLike for
90       details.
91
92
93
94perl v5.32.0                      2020-07-28    SNMP::Info::Layer2::CiscoSB(3)
Impressum