1SNMP::Info::Layer2::NexUasnesr(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer2::Nexans(3)
2
3
4

NAME

6       SNMP::Info::Layer2::Nexans - SNMP Interface to Nexans network devices.
7

AUTHOR

9       Christoph Neuhaus
10

SYNOPSIS

12       # Let SNMP::Info determine the correct subclass for you.
13
14           my $nexans = 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 = $nexans->class();
24           print "SNMP::Info determined this device to fall under subclass : $class\n";
25

DESCRIPTION

27       Abstraction subclass for Nexans network devices.
28
29       tested devices:
30
31           fiberSwitch100BmPlus version 3.61
32           gigaSwitch641DeskSfpTp version 3.68, 4.14W
33           gigaSwitchV3d2SfpSfp version 3.68, 4.02, 4.02B, 4.10C, 4,14W
34
35       For speed or debugging purposes you can call the subclass directly, but
36       not after determining a more specific class using the method above.
37
38           my $nexans = new SNMP::Info::Layer2::Nexans(...);
39
40   Inherited Classes
41       SNMP::Info::Layer2
42
43   Required MIBs
44       NEXANS
45       NEXANS-BM
46       Inherited Classes' MIBs
47           See "Required MIBs" in SNMP::Info::Layer2 for its own MIB
48           requirements.
49

GLOBALS

51       These are methods that return scalar value from SNMP
52
53       $nexans->vendor()
54           Returns 'nexans'
55
56       $nexans->model()
57           Returns the chassis model.
58
59       $nexans->os()
60           Returns 'nexanos'
61
62       $nexans->os_ver()
63           Returns the software version.
64
65       $nexans->serial()
66           Returns the chassis serial number.
67
68           ("infoSeriesNo")
69
70   Globals imported from SNMP::Info::Layer2
71       See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
72

TABLE METHODS

74       These are methods that return tables of information in the form of a
75       reference to a hash.
76
77       $nexans->i_name()
78           Returns reference to map of IIDs to human-set port name.
79
80   Table Methods imported from SNMP::Info::Layer2
81       See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
82

Data Munging Callback Subroutines

84       munge_i_duplex()
85           Converts duplex returned by "portLinkState" to either 'full' or
86           'half'.
87
88       munge_i_duplex_admin()
89           Converts duplex returned by "portSpeedDuplexSetup" to either
90           'full', 'half', or 'auto'.
91
92
93
94perl v5.28.1                      2019-04-04     SNMP::Info::Layer2::Nexans(3)
Impressum