Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-140
Document Number: 3700S-901-01 Rev. A / August 2007
lan.status.dns.hostname
Attribute
Reads present DNS fully qualified host name.
Usage
To read Dynamic DNS hostname:
hostname = lan.status.dns.hostname
hostname:
Fully qualified DNS hostname.
Remarks
This attribute holds the fully qualified DNS host name that can be used to reach the
unit. This name includes the DNS domain. If a DNS host name for the unit was not
found, this attribute will hold the IP address in dotted decimal notation.
Also see
lan.config.dns.hostname
(on page 9-134)
Example
To display the present Dynamic DNS hostname:
print(lan.status.dns.name)
lan.status.duplex
Attribute
Reads present status of LAN duplex mode.
Usage
To read LAN duplex mode:
duplex = lan.status.duplex
duplex:
LAN duplex setting can be one of the following values:
lan.FULL or 1: full-duplex operation.
lan.HALF or 0: half-duplex operation.
Remarks
This attribute indicates which duplex mode is currently in use by the LAN interface.
Also see
lan.status
Example
To display present LAN duplex mode:
print(lan.status.duplex)
1.000000
lan.status.gateway
Attribute
Reads present LAN default gateway address.
Usage
gatewayaddress = lan.status.gateway
gatewayaddress:
LAN default gateway address.
Remarks
This attribute indicates the default gateway IP address setting currently in effect.
Also see
lan.config.gateway
(on page 9-136)
Example
To display present gateway address:
print(lan.status.gateway)