Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-105
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)
Returns the current method.
For example:
1.000
Also see
lan.config.subnetmask
This attribute describes 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
LAN subnet mask value string specifying the subnet mask in dotted decimal
notation
Details
This attribute specifies the LAN subnet mask to use 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 currently in effect. Use the
lan.status.subnetmask
attribute to determine the current operating state of the LAN.
Example
print(lan.config.subnetmask)
Returns the LAN subnet mask, such as:
255.255.255.000
Also see
(on page 7-114)