1SNMP::Info::Layer3::NetUosneirx(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer3::Netonix(3)
2
3
4
6 SNMP::Info::Layer3::Netonix - SNMP Interface to Netonix devices
7
9 Max Kosmach Avant Wireless
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $nx = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 DestHost => 'myrouter',
17 Community => 'public',
18 Version => 2
19 )
20 or die "Can't connect to DestHost.\n";
21
22 my $class = $nx->class();
23 print "SNMP::Info determined this device to fall under subclass : $class\n";
24
26 Subclass for Netonix devices
27
28 Inherited Classes
29 SNMP::Info::Layer3
30
31 Required MIBs
32 NETONIX-SWITCH-MIB
33 Inherited Classes' MIBs
34 See SNMP::Info::Layer3 for its own MIB requirements.
35
37 These are methods that return scalar value from SNMP
38
39 $nx->vendor()
40 Returns 'netonix'.
41
42 $nx->os()
43 Returns 'netonix'.
44
45 $nx->model()
46 Returns the model substring of "description".
47
48 $nx->os_ver()
49 Returns the value of "firmwareVersion".
50
51 $nx->serial()
52 Returns the value of "dot1dBaseBridgeAddress.0" without colons.
53
54 Overrides
55 $nx->layers()
56 Returns 00000110. Netonix doesn't report layers, modified to
57 reflect Layer 2 and 3 functionality.
58
59 Globals imported from SNMP::Info::Layer3
60 See documentation in SNMP::Info::Layer3 for details.
61
63 These are methods that return tables of information in the form of a
64 reference to a hash.
65
66 Table Methods imported from SNMP::Info::Layer3
67 See documentation in SNMP::Info::Layer3 for details.
68
69
70
71perl v5.36.1 2023-07-17 SNMP::Info::Layer3::Netonix(3)