
Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-262
3700AS-901-01 Rev. D/June 2018
lan.config.gateway
This attribute contains the LAN default gateway address.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
LAN restore defaults
Nonvolatile memory
"0.0.0.0"
Usage
gatewayAddress
= lan.config.gateway
lan.config.gateway = "
gatewayAddress
"
gatewayAddress
LAN default gateway address; must be a string specifying the default
gateway’s IP address in dotted decimal notation
Details
This attribute specifies the default gateway IP address to use when manual or DLLA configuration
methods are used to configure the LAN. If DHCP is enabled, this setting is ignored.
This attribute does not indicate the actual setting that is presently in effect. Use the
lan.status.gateway
attribute to determine the present operating state of the LAN.
The IP address must be formatted in four groups of numbers, each separated by a decimal.
Example
print(lan.config.gateway)
Outputs the default gateway address. For example, you might
see the output:
192.168.0.1
Also see
(on page 11-265)
(on page 11-268)
lan.config.ipaddress
This command specifies the LAN IP address.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
LAN restore defaults
Nonvolatile memory
"192.168.0.2"
Usage
ipAddress
= lan.config.ipaddress
lan.config.ipaddress = "
ipAddress
"
ipAddress
LAN IP address; must be a string specifying the IP address in dotted decimal
notation
Details
This command specifies the LAN IP address to use when the LAN is configured using the manual
configuration method. This setting is ignored when DLLA or DHCP is used.
This attribute does not indicate the actual setting that is presently in effect. Use the
lan.status.ipaddress
attribute to determine the present operating state of the LAN.