1SNMP::Info::Layer2::NexUasnesr(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer2::Nexans(3)
2
3
4
6 SNMP::Info::Layer2::Nexans - SNMP Interface to Nexans network devices.
7
9 Christoph Neuhaus
10
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
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 Inherited Classes
36 SNMP::Info::Layer2
37
38 Required MIBs
39 NEXANS
40 NEXANS-BM
41 Inherited Classes' MIBs
42 See "Required MIBs" in SNMP::Info::Layer2 for its own MIB
43 requirements.
44
46 These are methods that return scalar value from SNMP
47
48 $nexans->vendor()
49 Returns 'nexans'
50
51 $nexans->model()
52 Returns the chassis model.
53
54 $nexans->os()
55 Returns 'nexanos'
56
57 $nexans->os_ver()
58 Returns the software version.
59
60 $nexans->serial()
61 Returns the chassis serial number.
62
63 ("infoSeriesNo")
64
65 Globals imported from SNMP::Info::Layer2
66 See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
67
69 These are methods that return tables of information in the form of a
70 reference to a hash.
71
72 $nexans->i_name()
73 Returns reference to map of IIDs to human-set port name.
74
75 Table Methods imported from SNMP::Info::Layer2
76 See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
77
79 munge_i_duplex()
80 Converts duplex returned by "portLinkState" to either 'full' or
81 'half'.
82
83 munge_i_duplex_admin()
84 Converts duplex returned by "portSpeedDuplexSetup" to either
85 'full', 'half', or 'auto'.
86
87
88
89perl v5.32.0 2020-07-28 SNMP::Info::Layer2::Nexans(3)