System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. C / August 2016 7-127
Example
print(lan.config.dns.verify)
Outputs the present DNS host name verification
state.
If it is enabled, the output is:
Also see
lan.config.dns.hostname (on page 7-125)
lan.restoredefaults() (on page 7-132)
lan.config.duplex
This attribute defines the LAN duplex mode.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes LAN restore defaults Nonvolatile memory 1 (lan.FULL)
Usage
duplex = lan.config.duplex
lan.config.duplex = duplex
LAN duplex setting can be one of the following values:
1 or lan.FULL: Selects full-duplex operation
0 or lan.HALF: Selects half-duplex operation
Details
This attribute does not indicate the actual setting currently in effect. Use the lan.status.duplex
attribute to determine the present operating state of the LAN.
Also see
lan.restoredefaults() (on page 7-132)
lan.config.gateway
This attribute contains the LAN default gateway address.
Type TSP-Link accessible Affected by Where saved Default value
Usage
gatewayAddress = lan.config.gateway
lan.config.gateway = gatewayAddress
LAN default gateway address; must be a string specifying the default
gateway’s IP address in dotted decimal notation