Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-122
2606B-901-01 Rev. B / May 2018
lan.restoredefaults()
This function resets LAN settings to default values.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
lan.restoredefaults()
Details
The settings that are restored are shown in the following table.
Settings that are restored to default
Attribute
Default setting
lan.autoconnect
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
"192.168.0.2"
lan.config.method
lan.AUTO
lan.config.speed
100
lan.config.subnetmask
"255.255.255.0"
lan.linktimeout
20 (seconds)
lan.lxidomain
0
lan.nagle
lan.ENABLE
lan.timedwait
20 (seconds)
This command is run when
lan.reset()
is sent.
Example
lan.restoredefaults()
Restores the LAN defaults.
Also see
(on page 7-121)
lan.status.dns.address[N]
This attribute contains the DNS server IP addresses.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable