1SNMP::Info::Layer3::ScaUlsaenrceC(o3n)tributed Perl DocuSmNeMnPt:a:tIinofno::Layer3::Scalance(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Scalance - SNMP Interface to Siemens Scalance
7       Switches
8

AUTHOR

10       Christoph Handel
11

SYNOPSIS

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

DESCRIPTION

27       Provides abstraction to the configuration information obtainable from a
28       Siemens Scalance Switch via SNMP.
29
30       Tested only with sclance xr524
31
32   Inherited Classes
33       SNMP::Info::Layer3
34       SNMP::Info::MAU
35       SNMP::Info::LLDP
36       SNMP::Info::Bridge
37
38   Required MIBs
39       SN-MSPS-SCX-MIB
40       AUTOMATION-SYSTEM-MIB
41       AUTOMATION-SMI.txt
42       AUTOMATION-SYSTEM-MIB
43       AUTOMATION-TC
44       SIEMENS-SMI
45
46       <https://support.industry.siemens.com/cs/document/22015045/private-mibs%3A-scalance-x-scalance-w-and-snmp-opc-profile?dti=0&lc=en-DE>
47
48       <https://support.industry.siemens.com/cs/document/67637278/automationmib-now-available-for-download-in-version-v02-00-00-02-?dti=0&lc=en-TN>
49

Change Log

GLOBALS

52       These are methods that return scalar value from SNMP
53
54       $scalance->layers()
55           Overwrite snmp value, we support 1-3
56
57       $scalance->os()
58           Returns scalance
59
60       $scalance->vendor()
61           Returns siemens
62
63       $scalance->model()
64           extrace a meaningful name from description
65
66       $scalance->mac()
67           use the dot1dBaseBridgeAddress
68
69       $scalance->os_ver()
70           clean up os_version string
71
72       $scalance->i_description()
73           siemens returns a description including firmware, switch serial,
74           etc clean it up. Try to use anything past VLAN or Port. And if this
75           fails past the last comma
76
77       $scalance->lldp_ip()
78           simatic does not implement lldpRemManAddrIfSubtype but remote
79           system names are available try to resolve them via DNS and use that
80
81   Globals imported from SNMP::Info::Layer3
82       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
83
84   Globals imported from SNMP::Info::MAU
85       See documentation in "GLOBALS" in SNMP::Info::MAU for details.
86

TABLE METHODS

88       These are methods that return tables of information in the form of a
89       reference to a hash.
90
91   Overrides
92       $scalance->lldp_ip()
93           Returns reference to hash of ports to remote ips.
94
95           simatic does not implement lldpRemManAddrIfSubtype but remote
96           system names are available try to resolve them via DNS and use
97           that.
98
99   Table Methods imported from SNMP::Info::Layer3
100       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
101
102   Table Methods imported from SNMP::Info::MAU
103       See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
104
105
106
107perl v5.30.1                      2020-01-30   SNMP::Info::Layer3::Scalance(3)
Impressum