Models 707B and 708B Switching Matrix Reference Manual
Section 7: TSP command reference
707B-901-01 Rev. B / January 2015
7-99
Usage
method
= lan.config.method
lan.config.method =
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
print(lan.config.method)
Outputs the current method.
For example:
1.000
Also see
(on page 7-101)
lan.config.subnetmask
This attribute contains the LAN subnet mask.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
LAN restore defaults
Nonvolatile memory
"255.255.255.0"
Usage
mask
= lan.config.subnetmask
lan.config.subnetmask =
mask
mask
String that specifies the LAN subnet mask value in dotted decimal notation
Details
This attribute specifies the LAN subnet mask that will be used when the manual configuration method
is used to configure the LAN. This setting is ignored when DLLA or DHCP is used.
This attribute does not indicate the actual setting presently in effect. Use the
lan.status.subnetmask
attribute to determine the present operating state of the LAN.
Example
print(lan.config.subnetmask)
Outputs the LAN subnet mask, such as:
255.255.255.0