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 scalance xr524
31
32   Inherited Classes
33       SNMP::Info::Layer3
34       SNMP::Info::MAU
35
36   Required MIBs
37       AUTOMATION-SMI
38       AUTOMATION-SYSTEM-MIB
39       AUTOMATION-TC
40       SIEMENS-SMI
41       SN-MSPS-SCX-MIB
42
43       <https://support.industry.siemens.com/cs/document/22015045/private-mibs%3A-scalance-x-scalance-w-and-snmp-opc-profile?dti=0&lc=en-DE>
44
45       <https://support.industry.siemens.com/cs/document/67637278/automationmib-now-available-for-download-in-version-v02-00-00-02-?dti=0&lc=en-TN>
46

Change Log

GLOBALS

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

TABLE METHODS

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