User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-199
lan.restoredefaults()
Remarks
This function restores all LAN to their default values. The following list details what
settings are restored.
lan.autoconnect: lan.DISABLE
lan.config.autonegotiate: lan.ENABLE
lan.config.dns.address[N]: 0.0.0.0
lan.config.dns.domain: ""
lan.config.dns.dynamic: lan.ENABLE
lan.config.dns.hostname: ""
lan.config.dns.verify: lan.ENABLE
lan.config.duplex: lan.FULL
lan.config.gateway: 0.0.0.0
lan.config.ipaddress: 0.0.0.0
lan.config.method: lan.AUTO
lan.config.speed: 100
lan.config.subnetmask: 0.0.0.0
lan.linktimeout: 20 (seconds)
lan.lxidomain: 0
lan.nagle: lan.ENABLE
lan.timedwait: 20 (seconds)
NOTE This function does not reset the web password. The
localnode.password attribute controls the web password and it can
be reset separately.
Example
To reset the LAN settings:
lan.restoredefaults()
lan.status.dns.address[N]
Attribute
Reads present DNS server IP addresses.
Usage
dnsaddress = lan.status.dns.address[index]
index: Entry index (1, 2, or 3)
dnsaddress: DNS server IP address.
Remarks
This attribute is an array of DNS server addresses. Up to three addresses may be in
use.