System SourceMeter® Instrument Reference Manual Section 7: TSP
2600BS-901-01 Rev. C / August 2016 7-129
lan.config.method
This attribute contains the LAN settings configuration method.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes LAN restore defaults Nonvolatile memory 0 (lan.AUTO)
Usage
method = lan.config.method
lan.config.method = method
The method for configuring LAN settings; it can be one of the following
values:
0 or lan.AUTO: Selects automatic sequencing of configuration methods
1 or lan.MANUAL: Use only manually specified configuration settings
Details
This attribute controls how the LAN IP address, subnet mask, default gateway address, and DNS
server addresses are determined.
When method is lan.AUTO, the instrument first attempts to configure the LAN settings using dynamic
host configuration protocol (DHCP). If DHCP fails, it tries dynamic link local addressing (DLLA). If
DLLA fails, it uses the manually specified settings.
When method is lan.MANUAL, only the manually specified settings are used. Neither DHCP nor
DLLA are attempted.
Example
Outputs the current method.
For example:
Also see
lan.restoredefaults() (on page 7-132)
lan.config.speed
This attribute contains the LAN speed used when restarting in manual configuration mode.
Type TSP-Link accessible Affected by Where saved Default value
Usage
speed = lan.config.speed
lan.config.speed = speed
LAN speed setting in Mbps (10 or 100)