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 Inherited Classes
31 SNMP::Info::Layer2
32
33 Required MIBs
34 SIXNET-MIB
35
36 Inherited MIBs
37 See "Required MIBs" in SNMP::Info::Layer2 for its MIB requirements.
38
40 These are methods that return scalar value from SNMP
41
42 $sixnet->vendor()
43 Returns 'sixnet'
44
45 $sixnet->os()
46 Returns 'sixnet'
47
48 $sixnet->os_ver()
49 Returns the software version returned by "firmwareRevision"
50
51 $sixnet->model()
52 Returns model type. Returns "sxid" if it exists, otherwise cross
53 references $sixnet->id() with the SIXNET-MIB.
54
55 $sixnet->ps1_status()
56 ("p1status")
57
58 $sixnet->ps2_status()
59 ("p2status")
60
61 Globals imported from SNMP::Info::Layer2
62 See "GLOBALS" in SNMP::Info::Layer2 for details.
63
65 These are methods that return tables of information in the form of a
66 reference to a hash.
67
68 Table Methods imported from SNMP::Info::Layer2
69 See "TABLE METHODS" in SNMP::Info::Layer2 for details.
70
71
72
73perl v5.34.0 2021-09-13 SNMP::Info::Layer2::Sixnet(3)