1SNMP::Info::Layer2::SixUnseetr(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer2::Sixnet(3)
2
3
4
6 SNMP::Info::Layer2::Sixnet - SNMP Interface to Sixnet industrial
7 switches
8
10 Eric Miller
11
13 my $sixnet = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 DestHost => 'myswitch',
17 Community => 'public',
18 Version => 2
19 )
20
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $sixnet->class();
24 print " Using device sub class : $class\n";
25
27 SNMP::Info::Layer2::Sixnet is a subclass of SNMP::Info that provides an
28 interface to Sixnet industrial switches.
29
30 For speed or debugging purposes you can call the subclass directly, but
31 not after determining a more specific class using the method above.
32
33 my $sixnet = new SNMP::Info::Layer2::Sixnet(...);
34
35 Inherited Classes
36 SNMP::Info::Layer2
37
38 Required MIBs
39 SIXNET-MIB
40
41 Inherited MIBs
42 See "Required MIBs" in SNMP::Info::Layer2 for its MIB requirements.
43
45 These are methods that return scalar value from SNMP
46
47 $sixnet->vendor()
48 Returns 'sixnet'
49
50 $sixnet->os()
51 Returns 'sixnet'
52
53 $sixnet->os_ver()
54 Returns the software version returned by "firmwareRevision"
55
56 $sixnet->model()
57 Returns model type. Returns "sxid" if it exists, otherwise cross
58 references $sixnet->id() with the SIXNET-MIB.
59
60 $sixnet->ps1_status()
61 ("p1status")
62
63 $sixnet->ps2_status()
64 ("p2status")
65
66 Globals imported from SNMP::Info::Layer2
67 See "GLOBALS" in SNMP::Info::Layer2 for details.
68
70 These are methods that return tables of information in the form of a
71 reference to a hash.
72
73 Table Methods imported from SNMP::Info::Layer2
74 See "TABLE METHODS" in SNMP::Info::Layer2 for details.
75
76
77
78perl v5.28.0 2018-11-29 SNMP::Info::Layer2::Sixnet(3)