1Info::Layer1::Cyclades(U3s)er Contributed Perl DocumentatIinofno::Layer1::Cyclades(3)
2
3
4

NAME

6       SNMP::Info::Layer1::Cyclades - SNMP Interface to Cyclades terminal
7       servers
8

AUTHOR

10       Eric Miller
11

SYNOPSIS

13           #Let SNMP::Info determine the correct subclass for you.
14
15           my $cyclades = 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
24           or die "Can't connect to DestHost.\n";
25
26           my $class = $cyclades->class();
27           print "SNMP::Info determined this device to fall under subclass : $class\n";
28

DESCRIPTION

30       Provides abstraction to the configuration information obtainable from a
31       Cyclades device through SNMP.
32
33       For speed or debugging purposes you can call the subclass directly, but
34       not after determining a more specific class using the method above.
35
36       my $cyclades = new SNMP::Info::Layer1::Cyclades(...);
37
38   Inherited Classes
39       SNMP::Info::Layer1
40
41   Required MIBs
42       CYCLADES-ACS-SYS-MIB
43       CYCLADES-ACS-CONF-MIB
44       CYCLADES-ACS-INFO-MIB
45
46   Inherited MIBs
47       See "Required MIBs" in SNMP::Info::Layer1 for its MIB requirements.
48

GLOBALS

50       These are methods that return scalar value from SNMP
51
52       $cyclades->os_ver()
53           ("cyACSversion")
54
55       $cyclades->serial()
56           ("cyACSDevId")
57
58       $cyclades->root_ip()
59           ("cyEthIPaddr")
60
61       $cyclades->ps1_status()
62           ("cyACSPw1")
63
64       $cyclades->ps2_status()
65           ("cyACSPw2")
66
67   Overrides
68       $cyclades->layers()
69           Returns 01000001.  These devices don't have a FDB and we probably
70           don't want to poll for an ARP cache so turn off reported Layer 2
71           and Layer 3.
72
73       $cyclades->vendor()
74           Returns 'cyclades'
75
76       $cyclades->os()
77           Returns 'cyclades'
78
79       $cyclades->model()
80           Returns lower case ("cyACSpname")
81
82   Globals imported from SNMP::Info::Layer1
83       See "GLOBALS" in SNMP::Info::Layer1 for details.
84

TABLE METHODS

86       These are methods that return tables of information in the form of a
87       reference to a hash.
88
89   Overrides
90       $cyclades->i_index()
91           Returns reference to map of IIDs to Interface index.
92
93           Extended to include serial ports.  Serial ports are indexed with
94           the alternative labeling system for the serial port, the listening
95           socket port "cySPortSocketPort" to avoid conflicts with "ifIndex".
96
97       $cyclades->interfaces()
98           Returns reference to map of IIDs to physical ports.  Extended to
99           include serial ports, "cyISPortTty".
100
101       $cyclades->i_speed()
102           Returns interface speed.  Extended to include serial ports,
103           "cyISPortSpeed".
104
105       $cyclades->i_up()
106           Returns link status for each port.  Extended to include serial
107           ports, "cyISPortSigCD".
108
109       $cyclades->i_description()
110           Returns description of each port.  Extended to include serial
111           ports, "cyISPortName".
112
113       $cyclades->i_name()
114           Returns name of each port.  Extended to include serial ports,
115           "cyISPortName".
116
117   Table Methods imported from SNMP::Info::Layer1
118       See "TABLE METHODS" in SNMP::Info::Layer1 for details.
119
120
121
122perl v5.12.0                      2009-06-12         Info::Layer1::Cyclades(3)
Impressum